summaryrefslogtreecommitdiffstats
path: root/thrift-compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thrift-compile.sh')
-rwxr-xr-xthrift-compile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/thrift-compile.sh b/thrift-compile.sh
index c47cc86..6c75de1 100755
--- a/thrift-compile.sh
+++ b/thrift-compile.sh
@@ -30,6 +30,7 @@ if thrift --gen java src/main/thrift/bwlp.thrift; then
bn=$(basename "$file")
[ -e "gen-java/org/openslx/bwlp/thrift/iface/$bn" ] || git rm "$file"
done
+ [ -e gen-java ] && rm -r gen-java
fi
echo "All done!"