summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-06-08 18:27:34 -0400
committerDan McGee <dan@archlinux.org>2012-06-25 23:05:14 -0500
commit9f751bf49247ff94b8ad8b808aee0527e9733a41 (patch)
treeeb3f3a561f47b6e7ebfce05a2739969cd7f37d5d /contrib
parentf556fe8b4a199116b5665bb5f0886e4c2962b077 (diff)
contrib: sed out @SCRIPTNAME@ in edit command
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index e33707bf..ccf56c5a 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