mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	Fixed default key directory
Script was not looking in the right place for the auto-generated key directory. This patch fixes issue #35.
This commit is contained in:
		
							parent
							
								
									3e44d7347b
								
							
						
					
					
						commit
						8f3fc3014d
					
				|  | @ -4,7 +4,7 @@ DIR=`dirname "$0"` | |||
| DIR=`exec 2>/dev/null;(cd -- "$DIR") && cd -- "$DIR"|| cd "$DIR"; unset PWD; /usr/bin/pwd || /bin/pwd || pwd` | ||||
| 
 | ||||
| # Grab the absolute path to the default pfx location | ||||
| cert_path="$DIR/.keys/cert.pfx" | ||||
| cert_path="$DIR/../../.keys/cert.pfx" | ||||
| 
 | ||||
| if [ "$#" -lt "1" ]; then | ||||
|     echo "USAGE: $0 <ABSOLUTE PATH TO CERT.PFX> [License Gen args...]" | ||||
|  | @ -15,5 +15,7 @@ elif [ "$#" -ge "2" ]; then | |||
|     shift | ||||
| fi | ||||
| 
 | ||||
| echo "$cert_path" | ||||
| 
 | ||||
| docker run -it --rm -v "$cert_path:/cert.pfx" bitbetter/licensegen "$@" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user