Project Aon Git Repositories
/
project-aon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding abnormal termination for errors
[project-aon.git]
/
common
/
scripts
/
copy-ebooks.sh
diff --git
a/common/scripts/copy-ebooks.sh
b/common/scripts/copy-ebooks.sh
index
aea05d5
..
1e76fc5
100755
(executable)
--- 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"
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"
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"
fi
BASE_DIR="$AONDIR/common/epub"