summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2006-12-15 12:46:23 +0000
committermartti <martti@pkgsrc.org>2006-12-15 12:46:23 +0000
commit2cc4216d5ef78d515d76bf66b7f8a7bfde835f05 (patch)
tree2c399d6a95c0986990ab6070ded1717566864e9e /mk/wrapper
parentc69300e480e372f0a816a0dd1982d591c423daf0 (diff)
downloadpkgsrc-2cc4216d5ef78d515d76bf66b7f8a7bfde835f05.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@"