diff --git a/build.sh b/build.sh index 847a142..6e0d2d9 100755 --- a/build.sh +++ b/build.sh @@ -45,8 +45,12 @@ if [ "$1" = "-t" ]; then shift && ./tw.sh $@ fi ./main -./thumbnailer.sh build - +exitstatus=$? +if [ "${exitstatus}" = "0" ]; then + ./thumbnailer.sh build & +fi # Cleanup rm -f ./main + +exit ${exitstatus} \ No newline at end of file diff --git a/main.c b/main.c index d56361b..9fc2a32 100644 --- a/main.c +++ b/main.c @@ -535,7 +535,7 @@ FILE* build(FILE* f, Lexicon* l, char* name, char* srcpath) { } fprintf( f, - "\n" + "\n" "