[pacman-dev] [PATCH 3/5] contrib: sed out @SCRIPTNAME@ in edit command

Dave Reisner dreisner at archlinux.org
Wed Jun 13 14:00:41 EDT 2012


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 contrib/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 30a76df..3641a08 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -58,6 +58,7 @@ edit = sed \
 	-e 's|@localstatedir[@]|$(localstatedir)|g' \
 	-e 's|@PACKAGE_VERSION[@]|$(REAL_PACKAGE_VERSION)|g' \
 	-e 's|@SIZECMD[@]|$(SIZECMD)|g' \
+	-e 's|@SCRIPTNAME[@]|$@|g' \
 	-e '1s|!/bin/bash|!$(BASH_SHELL)|g'
 
 $(OTHERSCRIPTS): Makefile
-- 
1.7.10.4



More information about the pacman-dev mailing list