diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 7afc75d0ea1d204c9c4bcdf9b1227893dc65cd98..e5a4756c87162e8c688b8f419cb33fefcc58d153 100755 --- a/l2ork_addons/tar_em_up.sh +++ b/l2ork_addons/tar_em_up.sh @@ -263,7 +263,10 @@ then if [ $full -eq 2 -o $deb -eq 2 -o $inno -eq 2 -o $dmg -eq 2 ] then - if [ $clean -eq 0 ]; then + # We bypass -k when doing a full build for the first time, so + # that things are set up properly in preparation of the build. + if [ ! -f Gem/configure ]; then clean=1; fi + if [ $clean -eq 0 ]; then cd externals else # clean files that may remain stuck even after doing global make clean (if any)