Added -x and exit 0 at the end

This commit is contained in:
Timofey 2016-08-18 17:03:05 +03:00
parent becf0013f6
commit 3db63582ca

View file

@ -18,6 +18,7 @@
set -u
set -e
set -x
if [ $# -lt 1 ]; then
echo
@ -157,3 +158,5 @@ fi
rm -f "$TARGET/$BASE_NAME.mwm.osm2ft"
# Remove temporary offsets table
[ -d "$TARGET/$BASE_NAME" ] && rm -r "$TARGET/$BASE_NAME"
exit 0 #added so that the exit code of the script is 0, and not whatever the [ -d ] returns