X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/d6da6fc08e14b5b47631e7cc803dc447ee6d4fe1..c34323ede85275439eda78f0b1617b6640b9847c:/eu.etaxonomy.taxeditor/deploy_nightly.sh diff --git a/eu.etaxonomy.taxeditor/deploy_nightly.sh b/eu.etaxonomy.taxeditor/deploy_nightly.sh index 2cb8ea7c9..8da863d4c 100755 --- a/eu.etaxonomy.taxeditor/deploy_nightly.sh +++ b/eu.etaxonomy.taxeditor/deploy_nightly.sh @@ -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