1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Preserve whitespace in the argument list. This can be tested by running

"ef.sh /bin/echo a\ \ b"; the correct output is "a  b\n", but before this
commit it would print "a b\n" instead.
This commit is contained in:
Dag-Erling Smørgrav 2007-04-22 12:25:43 +00:00
parent d61d430ece
commit 3e7a932731
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190631
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= electricfence
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= UNIX/misc

View File

@ -9,6 +9,7 @@
# Set the environment to load eletric fence.
(\
-export LD_PRELOAD=libefence.so.0.0;\
-exec $*;\
+export LD_PRELOAD=libefence.so.0;\
exec $*;\
+exec "$@";\
)