This commit is contained in:
Jake Swenson
2017-10-29 12:44:54 -07:00
parent b1a8ec5031
commit 92555591f5
3 changed files with 48 additions and 13 deletions

View File

@@ -2,10 +2,11 @@
script_dir=`cd $(dirname $0); pwd`
if [ "$#" -ne "1" ]; then
echo "USAGE: $0 <ABSOLUTE PATH TO CERT.PFX>"
if [ "$#" -lt "1" ]; then
echo "USAGE: $0 <ABSOLUTE PATH TO CERT.PFX> [License Gen args...]"
exit 1
fi
docker run -it -v "$1:/cert.pfx" bitbetter/licensegen
cert_path=$1
shift
docker run -it -v "$cert_path:/cert.pfx" bitbetter/licensegen "$@"