Added check that we are running from the proper location

This commit is contained in:
Wyatt Olson
2010-09-16 07:51:46 -06:00
parent a8b29e1000
commit 93787f15ac

View File

@@ -11,6 +11,10 @@ TEMP=temp_file
PATH=rtdata/languages
cd $PATH
if [[ $? != 0 ]]; then
echo "You must run this script from the root of the project."
exit
fi
#First thing, we want to strip default of any !s and duplicates.
cat "default" | grep -v '^!' | sort | uniq > "$TEMP"