From: Thomas Debesse Date: Wed, 7 Aug 2019 18:46:53 +0000 (+0200) Subject: bundle: fix some minor mistakes (had no bad consequences) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef510064ba86bfe97d19db829f1b221a96fa70de;p=xonotic%2Fnetradiant.git bundle: fix some minor mistakes (had no bad consequences) produced the same bundle, but with error messages at build time, and some actions uselessly done more than once --- diff --git a/library-bundler b/library-bundler index ea276cea..5ec766a3 100755 --- a/library-bundler +++ b/library-bundler @@ -186,7 +186,7 @@ Multi::bundleLibFromFile () { do lib_basename="$(basename "${lib_file}")" - if [ -f "${bundle_dir}/${lib_basename}" ] + if [ -f "${lib_dir}/${lib_basename}" ] then continue fi @@ -211,8 +211,8 @@ Multi::cleanUp () { -exec rm {} \; find "${bundle_dir}/lib" \ - -type d \ -depth \ + -type d \ -exec rmdir --ignore-fail-on-non-empty {} \; }