Make sure the right directory test is in place.
This commit is contained in:
parent
565b25a221
commit
bc242070db
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
# This had better take us to the top-level source directory.
|
||||
# Otherwise, confusion will ensue.
|
||||
cd ..
|
||||
if [ `basename $PWD` != 'wesnoth' ]
|
||||
if [ ! -d data -o ! -d images ]
|
||||
then
|
||||
echo "sanity_check: " \
|
||||
"this tool must be run from the Wesnoth utils directory."
|
||||
|
|
Loading…
Add table
Reference in a new issue