mandatory first arg
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:52:42 +0000 (09:52 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:52:42 +0000 (09:52 +0200)
war/run.sh

index 5a272e5..a042c04 100755 (executable)
@@ -4,9 +4,8 @@ SDIR=`dirname $0`
 SWAR=`realpath $SDIR/target/pnews-1.0.war`
 
 if [ -z "$1" ]; then
-        SHARED_DIR="/tmp/$$.tmp"
-else
         SHARED_DIR="$1"
+        exit 1
 fi
 
 SHARED_DIR=`realpath $SHARED_DIR`