toaruos/util/check.sh
2018-03-21 17:17:48 +09:00

12 lines
189 B
Bash
Executable File

#!/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