diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh index 3e6261a2a1952aa29179b30092cfd0cc13de7db0..d2916a1024d9bdd0ce1c3792779ec259a9233491 100755 --- a/l2ork_addons/tar_em_up.sh +++ b/l2ork_addons/tar_em_up.sh @@ -211,7 +211,9 @@ then echo "core Pd..." rm -f ../Pd-l2ork-`date +%Y%m%d`.tar.bz2 2> /dev/null cd pd/src/ - make clean || true # this may fail on 1st attempt + # make sure that Pd is configured before trying to package it + test -f config.h || (aclocal && autoconf && make -C ../../packages pd) + make clean cd ../../ tar -jcf ./Pd-l2ork-`date +%Y%m%d`.tar.bz2 pd fi