mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 11:26:05 +08:00
#4635 Use correct expansion mechanism to test if var is set/unset for pp/perl
This commit is contained in:
parent
9c7394db81
commit
4745d03bd8
@ -51,11 +51,11 @@ resourcefolder=$appfolder
|
||||
echo "Appfolder: $appfolder, archivefolder: $archivefolder, resourcefolder=$resourcefolder"
|
||||
|
||||
# Our slic3r dir and location of perl
|
||||
if [[ ! -z "$PERL_BIN" ]]; then
|
||||
if [[ -z ${PERL_BIN+x} ]]; then
|
||||
PERL_BIN=$(which perl)
|
||||
echo "Found perl at $PERL_BIN"
|
||||
fi
|
||||
if [[ ! -z "$PP_BIN" ]]; then
|
||||
if [[ -z ${PP_BIN+x} ]]; then
|
||||
PP_BIN=$(which pp)
|
||||
echo "Found pp at $PP_BIN"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user