add $@ to wrapper

This commit is contained in:
Joey Hess 2015-01-07 15:36:19 -04:00
parent 508692f110
commit 605600afdb

View file

@ -16,7 +16,7 @@ VER="$(perl -e '$_=<>;print m/\((.*?)\)/'<../../CHANGELOG)"
wrap () { wrap () {
echo "#!/bin/sh -e" > "$2" echo "#!/bin/sh -e" > "$2"
echo "echo \"$1 added options: $2\" >&2" >> "$2" echo "echo \"$1 added options: $2\" >&2" >> "$2"
echo "$1 $3" >> "$2" echo "$1 $3 "'"$@"' >> "$2"
chmod +x "$2" chmod +x "$2"
} }