From: vimacs Date: Mon, 9 Nov 2009 21:34:15 +0000 (+0100) Subject: Fixed stupid error that prevented -m and -u to work without -e X-Git-Tag: Release-2010-05/1~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e01b0d2dac1727cc50f523cd8722ea5dd74f8429;p=pandora-libraries.git Fixed stupid error that prevented -m and -u to work without -e modified: pnd_run.sh --- diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index a55f548..e95f033 100755 --- a/testdata/scripts/pnd_run.sh +++ b/testdata/scripts/pnd_run.sh @@ -51,7 +51,7 @@ if [ ! $PND ]; then #check if theres a pnd suplied, need to clean that up a bit exit 1 fi if [ ! $EXENAME ]; then - if [ ! $mount ] || [ ! $umount ]; then + if [ ! $mount ] && [ ! $umount ]; then echo "Usage: pnd_run.sh -p your.pnd -e executeable [-a \"(arguments)\"] [ -s \"cd to folder inside pnd\"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]" echo "Usage for mounting/umounting pnd_run.sh -p your.pnd -b uid -m or -u" exit 1