X Strike Force X.Org X11 SVN commit: r217 - trunk/debian
Author: branden
Date: 2005-06-14 17:43:25 -0500 (Tue, 14 Jun 2005)
New Revision: 217
Modified:
trunk/debian/rules
Log:
Add test to the unpatch target; check for an existing $(STAMP_DIR)/patches
directory before attempting to do anything.
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2005-06-14 22:25:10 UTC (rev 216)
+++ trunk/debian/rules 2005-06-14 22:43:25 UTC (rev 217)
@@ -149,7 +149,7 @@
# dbs. If this were meant to be good enough for dbs itself, it would be
# submitted to the Debian BTS as a patch to dbs.
unpatch:
- @if [ -f $(patched) ]; then \
+ @if [ -f $(patched) ] && [ -d $(STAMP_DIR)/patches ]; then \
mkdir -p $(STAMP_DIR)/unpatches; \
for F in $(shell ls -1 $(STAMP_DIR)/patches | tac); do \
LOG=$(STAMP_DIR)/unpatches/$$F; \
Reply to: