clean after failure
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)
committerAaron M. Ucko <ucko@debian.org>
Tue, 5 Sep 2023 02:40:42 +0000 (22:40 -0400)
Last-Updated: 2013-06-01
Forwarded: no

Gbp-Pq: Name enable_clean_after_failed_compile

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

index 7be703b30b314123a6b2e2c58c16233e2749578b..0b790327a12dc9c7a030cff98bd82277cef4afe0 100644 (file)
@@ -198,7 +198,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