allow to run from bin directory, which turns out to be useful

This commit is contained in:
Eric House 2014-03-01 12:39:51 -08:00
parent d122b7d2ff
commit 56c05869da

View file

@ -25,7 +25,7 @@ if [ $# -gt 0 ]; then
shift
fi
while [ ! -e $MANIFEST ]; do
while [ ! -e $MANIFEST -o $(basename $(pwd)) = 'bin' ]; do
[ '/' = $(pwd) ] && usage "reached root without finding $MANIFEST"
cd ..
done