[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337695: unknown command @echo called from debian/rules



Package: xorg-x11
Severity: minor
Tags: experimental patch

Since @ is only special before shell constructs lines 206 and 214 of
debian/rules will try to run the command '@echo', which obviously fails,
with no effects rather than a warning.
diff -u xorg-x11-6.8.99.901.dfsg.1/debian/rules xorg-x11-6.8.99.901.dfsg.1/debian/rules+
--- xorg-x11-6.8.99.901.dfsg.1/debian/rules	2005-11-05 21:07:55.731824320 +0100
+++ xorg-x11-6.8.99.901.dfsg.1/debian/rules+	2005-11-05 21:07:55.737823408 +0100
@@ -202,8 +202,8 @@
 stampdir_targets+=patch
 patch: $(STAMP_DIR)/patch
 $(STAMP_DIR)/patch: $(STAMP_DIR)/prepare
-	if quilt next; then \
-	  @echo -n "Applying patches..."; \
+	@if quilt next; then \
+	  echo -n "Applying patches..."; \
 	  if quilt push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \
 	    echo "successful."; \
 	  else \
@@ -211,7 +211,7 @@
 	    exit 1; \
 	  fi; \
 	else \
-	  @echo "No patches to apply"; \
+	  echo "No patches to apply"; \
 	fi; \
 	>$@
 

Reply to: