Last active
January 9, 2017 08:52
-
-
Save mjrider/6c47dac05f61b2d73310 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NEWARGS=(); | |
for i in "${@}" ; do | |
NEWARGS+=( "${i}" ) | |
if [ "${i}" = "--components" -o "${i}" = "-c" ] ; then | |
COMPONENTS=1; | |
fi | |
done | |
if [ -z "${COMPONENTS}" ] ; then | |
NEWARGS+=( "--components" ) | |
NEWARGS+=( "secrets,pkcs11,gpg" ) | |
fi | |
exec ${0}.distrib "${NEWARGS[@]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment