mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fix broken logic in $ARGV[0] check.
This commit is contained in:
2
Build.PL
2
Build.PL
@@ -130,7 +130,7 @@ if ($missing_prereqs) {
|
||||
if (eval "use App::Prove; 1") {
|
||||
App::Prove->new->run;
|
||||
}
|
||||
if (!defined $ARGV[0] && $ARGV[0] ne '--gui') {
|
||||
if (!defined $ARGV[0] || $ARGV[0] ne '--gui') {
|
||||
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user