mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-20 05:06:18 +00:00
fixed
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user