summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authormartti <martti>2006-12-15 12:46:23 +0000
committermartti <martti>2006-12-15 12:46:23 +0000
commitf800f4a97ec4a0cfe2daf6d06a25d71da0b92317 (patch)
tree2c399d6a95c0986990ab6070ded1717566864e9e /mk/wrapper
parent769a053cda9ef0438c9c30fcada81a95be5d677d (diff)
downloadpkgsrc-f800f4a97ec4a0cfe2daf6d06a25d71da0b92317.tar.gz
Remove trailing spaces.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/arg-source16
-rw-r--r--mk/wrapper/wrapper.sh4
2 files changed, 10 insertions, 10 deletions
diff --git a/mk/wrapper/arg-source b/mk/wrapper/arg-source
index 09ace3c732d..0637b81d600 100644
--- a/mk/wrapper/arg-source
+++ b/mk/wrapper/arg-source
@@ -1,4 +1,4 @@
-# $NetBSD: arg-source,v 1.8 2006/09/17 22:52:45 rillig Exp $
+# $NetBSD: arg-source,v 1.9 2006/12/15 12:46:24 martti Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -63,12 +63,12 @@ while $test $# -gt 0; do
# Same for -R and -Wl,-rpath and -Wl,-rpath-link.
##############################################################
-R*:*|-Wl,-R*:*|\
- -Wl,-rpath,*:*|-Wl,-rpath-link,*:*|-Wl,--rpath,*:*)
- case $arg in
+ -Wl,-rpath,*:*|-Wl,-rpath-link,*:*|-Wl,--rpath,*:*)
+ case $arg in
-R*) R="-R" ;;
-Wl,-R*) R="-Wl,-R" ;;
- -Wl,-rpath,*) R="-Wl,-rpath," ;;
- -Wl,-rpath-link,*) R="-Wl,-rpath-link," ;;
+ -Wl,-rpath,*) R="-Wl,-rpath," ;;
+ -Wl,-rpath-link,*) R="-Wl,-rpath-link," ;;
-Wl,--rpath,*) R="-Wl,--rpath," ;;
esac
list="${arg#$R}"
@@ -88,10 +88,10 @@ while $test $# -gt 0; do
##############################################################
-Wl,-R|-Wl,-rpath|-Wl,-rpath-link|-Wl,--rpath)
nextarg="$1"; shift
- case $arg in
+ case $arg in
-Wl,-R) R="-Wl,-R" ;;
- -Wl,-rpath) R="-Wl,-rpath," ;;
- -Wl,-rpath-link) R="-Wl,-rpath-link," ;;
+ -Wl,-rpath) R="-Wl,-rpath," ;;
+ -Wl,-rpath-link) R="-Wl,-rpath-link," ;;
-Wl,--rpath) R="-Wl,--rpath," ;;
esac
nextarg="${nextarg#-Wl,}"
diff --git a/mk/wrapper/wrapper.sh b/mk/wrapper/wrapper.sh
index ca7708b1938..d638eed8c5f 100644
--- a/mk/wrapper/wrapper.sh
+++ b/mk/wrapper/wrapper.sh
@@ -1,6 +1,6 @@
#! @WRAPPER_SHELL@
#
-# $NetBSD: wrapper.sh,v 1.11 2006/12/14 22:25:19 dmcmahill Exp $
+# $NetBSD: wrapper.sh,v 1.12 2006/12/15 12:46:24 martti Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -57,7 +57,7 @@ wrapperlog="${WRAPPER_LOG-@_WRAP_LOG@}"
skip_transform="${WRAPPER_SKIP_TRANSFORM-@_WRAP_SKIP_TRANSFORM@}"
debug="${WRAPPER_DEBUG-@WRAPPER_DEBUG@}"
-cat="@CAT@"
+cat="@CAT@"
echo="@ECHO@"
expr="@EXPR@"
mv="@MV@"