X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fscripts%2Fcopy-ebooks.sh;h=1e76fc58360076f9033f64516d692010297aae55;hp=aea05d5a4f71eba1bcf5ad9743f677a88e706733;hb=7d3e9ca54e0cb51922b34659b920e61ee3a6e8d2;hpb=b64ca08c4a11cae7af256f22c7c54aa24fc9857d;ds=sidebyside diff --git a/common/scripts/copy-ebooks.sh b/common/scripts/copy-ebooks.sh index aea05d5..1e76fc5 100755 --- a/common/scripts/copy-ebooks.sh +++ b/common/scripts/copy-ebooks.sh @@ -11,13 +11,13 @@ if [ ! -d "$AONDIR" ]; then >&2 echo "Please set the AONDIR environment variable" - exit + exit 1 fi CURR_DIR=`pwd` if [ "$AONDIR" -ef "$CURR_DIR" ]; then >&2 echo "Current directory is the same as AONDIR: giving up" - exit + exit 1 fi BASE_DIR="$AONDIR/common/epub"