diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-04-05 00:20:11 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2018-04-05 00:20:11 +0000 |
commit | 9ad97cba023ed5790b556d9513d7998608abdf6b (patch) | |
tree | df5803713a674a3d775d855b41f44b1412c285d4 /subr/build_checks.subr | |
parent | d2b16fc0666d4bd1bf3daccbafe20151d01e38e4 (diff) | |
download | midipix_build-9ad97cba023ed5790b556d9513d7998608abdf6b.tar.bz2 midipix_build-9ad97cba023ed5790b556d9513d7998608abdf6b.tar.xz |
subr/build_{checks,init}.subr: move --as-needed exit check in order to prevent clobbering build.log.
Diffstat (limited to 'subr/build_checks.subr')
-rw-r--r-- | subr/build_checks.subr | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/subr/build_checks.subr b/subr/build_checks.subr index 5abeab20..055ed870 100644 --- a/subr/build_checks.subr +++ b/subr/build_checks.subr @@ -33,12 +33,6 @@ build_checks() { if [ ${_exit:-0} = 1 ]; then exit 1; fi; - if [ "${ARG_AS_NEEDED:-0}" -eq 1 ]\ - && [ -e "${PREFIX}/build.gitref" ]\ - && [ "$(git rev-parse HEAD)" = "$(cat "${PREFIX}/build.gitref")" ]; then - ex_rtl_log_msg info "Git repository has not changed since last build and --as-needed was specified."; - exit 0; - fi; if [ ${ARG_CLEAN:-0} -eq 1 ]; then ex_rtl_log_msg info "-c specified, cleaning prefix..."; for _pname in ${DEFAULT_CLEAR_PREFIX_PATHS}; do |