clean after failure
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Sun, 12 Jan 2025 14:25:01 +0000 (14:25 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 12 Jan 2025 14:25:01 +0000 (14:25 +0000)
Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

c++/src/build-system/new_module.sh.in

index bb3881550a79f373d9f44e1dd7f217fd936f996f..e027c89fddd02c2466c9799bfb7cda5a83857c93 100644 (file)
@@ -203,7 +203,7 @@ if test -z "$datatool"; then # keep looking
         if test -n "$DYLD_LIBRARY_PATH"; then
             wrapper="DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH"
         fi
-    else
+    elif [ "$1" != "purge_sources" ] ; then
         echo "Unable to find datatool." >&2
         exit 2
     fi