]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Remove .revision on bootstrap failure to force re-bootstrapping next time the build...
authorOndřej Surý <ondrej@sury.org>
Wed, 11 Jan 2017 14:31:42 +0000 (15:31 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 11 Jan 2017 14:31:42 +0000 (15:31 +0100)
scripts/bootstrap-depends.sh

index d78e05de8629b2e82b96e7bb12a444f7d522b261..62812e570a24cd591cf78c122f3e060f1c4ae44b 100755 (executable)
@@ -61,7 +61,8 @@ echo "build: ${BUILD_DIR}"
 echo "log:   ${LOG}" | tee ${LOG}
 
 function on_failure {
-       cat ${LOG}
+    cat ${LOG}
+    rm ${PREFIX}/.revision
 }
 trap on_failure ERR