projects
/
pnews.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed typo
[pnews.git]
/
war
/
run.sh
diff --git
a/war/run.sh
b/war/run.sh
index
65e7a29
..
73c9b1a
100755
(executable)
--- a/
war/run.sh
+++ b/
war/run.sh
@@
-3,7
+3,12
@@
SDIR=`dirname $0`
SWAR=`realpath $SDIR/target/pnews-1.0.war`
+print_usage() {
+ echo "$0 <SHARED_DIR>"
+}
+
if [ -z "$1" ]; then
+ print_usage
exit 1
else
SHARED_DIR="$1"