diff --git a/tools/unix/generate_mwm.sh b/tools/unix/generate_mwm.sh index cededb574e..70654e7598 100755 --- a/tools/unix/generate_mwm.sh +++ b/tools/unix/generate_mwm.sh @@ -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