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

Bug#477582: FIX: gtm: bashism in debian/rules



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

here is the patch to solve this bashism:

- --- debian/rules.orig	2008-04-29 09:55:28.000000000 -0300
+++ debian/rules	2008-04-29 09:54:49.000000000 -0300
@@ -111,14 +111,14 @@
 		test -x $$patch || chmod +x $$patch; \
 		if test -f $$stamp; then \
 			echo "$$patch already applied."; \
- -			echo -e "\n$$patch ($$author):" >> $@T; \
+			echo "\n$$patch ($$author):" >> $@T; \
 			sed -n 's/^#* *DP: */  /p' $$patch >> $@T; \
 		else \
- -			echo -n "applying patch $$patch..."; \
+			echo "applying patch $$patch...\c"; \
 			if $$patch -patch >$$stamp.new 2>&1; then \
 				mv $$stamp.new $$stamp; \
 				touch $$stamp; \
- -				echo -e "\n$$patch ($$author):" >> $@T; \
+				echo "\n$$patch ($$author):" >> $@T; \
 				sed -n 's/^#* *DP: */  /p' $$patch >> $@T; \
 				echo " ok."; \
 			else \
@@ -136,7 +136,7 @@
 		patch=debian/patches/$$patch$$ext; \
 		test -x $$patch || chmod +x $$patch; \
 		if test -f $$stamp; then \
- -			echo -n "reverting patch $$patch..."; \
+			echo "reverting patch $$patch...\c"; \
 			if $$patch -unpatch 2>&1 >/dev/null; then \
 				rm -f $$stamp; \
 				echo " ok."; \


- --
Leonardo Rodrigues de Mello
jabber: l@lmello.eu.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIFxjZLsy/JSmhVFURAqy+AKCEJRhQTMoOb2QD/sPQ7UFwZU4+5wCfUIAw
u8WML7db4TbTNFvg5btBDYE=
=Si0Q
-----END PGP SIGNATURE-----



Reply to: