Author: dnusinow
Date: 2006-04-15 19:53:37 -0400 (Sat, 15 Apr 2006)
New Revision: 1811

Modified:
   trunk/xsfbs/xsfbs.mk
Log:
Make us error out if we call patch and don't have quilt installed

Modified: trunk/xsfbs/xsfbs.mk
===================================================================
--- trunk/xsfbs/xsfbs.mk        2006-04-15 23:37:52 UTC (rev 1810)
+++ trunk/xsfbs/xsfbs.mk        2006-04-15 23:53:37 UTC (rev 1811)
@@ -137,6 +137,10 @@
 stampdir_targets+=patch
 patch: $(STAMP_DIR)/patch
 $(STAMP_DIR)/patch: $(STAMP_DIR)/prepare
+       if ! [ `which quilt` ]; then \
+               echo "Couldn't find quilt. Please install it or add it to the 
build-depneds for this package." \
+               exit 1; \
+       fi \
        if quilt next; then \
          echo -n "Applying patches..."; \
          if quilt push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to