- added option for deep delete (with children) to DerivateEditor
[taxeditor.git] / eu.etaxonomy.taxeditor / deploy_nightly.sh
index 2cb8ea7c97f541d2cb3f375cd0a3041d0fa90666..8da863d4c96ad70b41191032dfed7d263d85e597 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# testing
+# local testing
 #WORKSPACE="/Users/n.hoffmann/Documents/workspace/taxeditor/trunk"
 
 PRODUCT_DIR="$WORKSPACE/eu.etaxonomy.taxeditor/target/products"
@@ -10,14 +10,14 @@ DEPLOYMENT_DIR="/var/www/download/taxeditor/nightly"
 
 # bash check if directory exists
 if [ ! -d $PRODUCT_DIR ]; then
-       echo "Target directory does not exist: $PRODUCT_DIR" 
+       echo "Product directory does not exist: $PRODUCT_DIR" 
        exit 1
 fi 
 
-PRODUCTS=$(ls  $PRODUCT_DIR/eu.etaxonomy.taxeditor.product-*.zip)
+PRODUCTS=$(ls $PRODUCT_DIR/eu.etaxonomy.taxeditor.product-*.zip)
 
-if [ ! -e $PRODUCTS ]; then
-       echo "No products in target folder."
+if [ ! $PRODUCTS ]; then
+       echo "No products in product directory: $PRODUCT_DIR"
        exit 1
 fi