From a2d14a82b614574d6e34ac420aa48e3db8eca49c Mon Sep 17 00:00:00 2001 From: Albert Graef <aggraef@gmail.com> Date: Mon, 12 Mar 2018 23:22:08 +0100 Subject: [PATCH] Bypass -k in first build, so that necessary initializations are done. --- l2ork_addons/tar_em_up.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 7afc75d0e..e5a4756c8 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) -- GitLab