summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetherpad/bin/rebuildjar.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/etherpad/bin/rebuildjar.sh b/etherpad/bin/rebuildjar.sh
index acd57d2..d32d994 100755
--- a/etherpad/bin/rebuildjar.sh
+++ b/etherpad/bin/rebuildjar.sh
@@ -117,9 +117,10 @@ trap notify EXIT
source ../infrastructure/bin/compilecache.sh
-if [ "$1" == "dev" ]; then
- suffix="-dev";
- shift
+suffix="-dev";
+if [ "$1" == "prod" ]; then
+ suffix="";
+ shift;
fi
OWD=`pwd`