summaryrefslogtreecommitdiff
path: root/usr.bin/ctfconv
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-08-13 15:28:52 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-08-13 15:28:52 +0000
commit0af59077f28e5e3e52e3bb246392ef1b85666306 (patch)
tree27a02b578f1c4b66d3486df7f0c9ce35e976e058 /usr.bin/ctfconv
parentc0139173ef860fc4a4f91c10fc5ad7466a902264 (diff)
Fix arguments that are passed to strip(1). In particular,
$INFILE should not appear twice. OK mpi@, jasper@
Diffstat (limited to 'usr.bin/ctfconv')
-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