toaruos/util/check.sh

12 lines
189 B
Bash
Raw Normal View History

2018-03-21 11:17:48 +03:00
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ ! -e "$DIR/local/bin/i686-pc-toaru-gcc" ]; then
echo -n "n";
exit 1;
else
echo -n "y";
exit 0;
fi