[pkg-wpa-devel] r1725 - /wpa/trunk/debian/rules

slh-guest at users.alioth.debian.org slh-guest at users.alioth.debian.org
Mon Apr 16 20:07:54 UTC 2012


Author: slh-guest
Date: Mon Apr 16 20:07:54 2012
New Revision: 1725

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1725
Log:
make get-orig-source target a little safer

Modified:
    wpa/trunk/debian/rules

Modified: wpa/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-wpa/wpa/trunk/debian/rules?rev=1725&op=diff
==============================================================================
--- wpa/trunk/debian/rules (original)
+++ wpa/trunk/debian/rules Mon Apr 16 20:07:54 2012
@@ -129,7 +129,7 @@
 		echo "ERROR: $$ORIG_LOCATION/wpa_$$DEB_VER.orig.tar.gz exists"; \
 		exit 1; \
 	fi; \
-	rm -rf orig-source; \
+	test -d orig-source && exit 1 || :; \
 	git clone git://w1.fi/srv/git/hostap-1.git orig-source; \
 	test -d orig-source || exit 1; \
 	cd orig-source && \




More information about the Pkg-wpa-devel mailing list