projects
/
pnews.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c07209
)
fixed scriptwq
author
Jean-Philippe Orsini
<orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:57:33 +0000
(09:57 +0200)
committer
Jean-Philippe Orsini
<orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:57:33 +0000
(09:57 +0200)
war/run.sh
patch
|
blob
|
history
diff --git
a/war/run.sh
b/war/run.sh
index
a042c04
..
fa49ece
100755
(executable)
--- a/
war/run.sh
+++ b/
war/run.sh
@@
-5,13
+5,14
@@
SWAR=`realpath $SDIR/target/pnews-1.0.war`
if [ -z "$1" ]; then
SHARED_DIR="$1"
if [ -z "$1" ]; then
SHARED_DIR="$1"
+else
exit 1
fi
exit 1
fi
-SHARED_DIR=`realpath $SHARED_DIR`
-
echo "SHARED_DIR=$SHARED_DIR"
echo "SHARED_DIR=$SHARED_DIR"
+SHARED_DIR=`realpath $SHARED_DIR`
+
DWAR="$SHARED_DIR/apps/pnews-1.0.war"
mkdir -p $SHARED_DIR/apps
DWAR="$SHARED_DIR/apps/pnews-1.0.war"
mkdir -p $SHARED_DIR/apps