"blueprint -install example.blueprint" will no longer cause a "not found" error.
This commit is contained in:
parent
150c3b6273
commit
0506ee76ea
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
|
||||||
dev=false
|
dev=false
|
||||||
n=$3
|
n=$3
|
||||||
FILE=$n".blueprint"
|
FILE=$n".blueprint"
|
||||||
|
if [[ ( $FILE == *".blueprint.blueprint" ) && ( $n == *".blueprint" ) ]]; then FILE=$n;fi
|
||||||
if [[ ! -f "$FILE" ]]; then quit_red "[FATAL] $FILE could not be found.";fi
|
if [[ ! -f "$FILE" ]]; then quit_red "[FATAL] $FILE could not be found.";fi
|
||||||
|
|
||||||
ZIP=$n".zip"
|
ZIP=$n".zip"
|
||||||
|
|
Loading…
Reference in a new issue