summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2017-08-13 15:28:51 +0000
committervisa <visa@openbsd.org>2017-08-13 15:28:51 +0000
commitc1a291db9c0fbaac6a6511537a39762dee2a6e84 (patch)
treefab6ceaf58f5b725b89e64121ebd5c145f3acc6a
parentWhen iwn_stop() releases the scan lock wake processes sleeping on it. (diff)
downloadwireguard-openbsd-c1a291db9c0fbaac6a6511537a39762dee2a6e84.tar.xz
wireguard-openbsd-c1a291db9c0fbaac6a6511537a39762dee2a6e84.zip
Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice. OK mpi@, jasper@
-rwxr-xr-xusr.bin/ctfconv/ctfstrip4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ctfconv/ctfstrip b/usr.bin/ctfconv/ctfstrip
index 945286a996e..4393d05fc04 100755
--- a/usr.bin/ctfconv/ctfstrip
+++ b/usr.bin/ctfconv/ctfstrip
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: ctfstrip,v 1.5 2017/08/12 19:51:17 jasper Exp $
+# $OpenBSD: ctfstrip,v 1.6 2017/08/13 15:28:51 visa Exp $
#
# Copyright (c) 2017 Martin Pieuchot
#
@@ -39,7 +39,7 @@ for arg in "$@"; do
-S) STRIPFLAG=-g; shift; continue;;
esac
shift
- set -- "$@" "$arg"
+ set -- "$@" "$INFILE"
INFILE="$arg"
done