From a2bc4d705a9c8406e237e71c5dff79253ffc80c6 Mon Sep 17 00:00:00 2001 From: rkfg Date: Fri, 26 Feb 2016 21:02:25 +0300 Subject: [PATCH] Make perl script working on Linux. --- Utils/gen-simple-cards-by-set.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils/gen-simple-cards-by-set.pl b/Utils/gen-simple-cards-by-set.pl index f0dc6779ae..ef72241097 100755 --- a/Utils/gen-simple-cards-by-set.pl +++ b/Utils/gen-simple-cards-by-set.pl @@ -46,13 +46,13 @@ if(!exists $knownSets{$setName}) { my $packageName = $knownSets{$setName}; $setName =~ s/"/\\"/g; -system("gen-existing-cards-by-set.pl \"$setName\""); +system("./gen-existing-cards-by-set.pl \"$setName\""); # Generate missing simple cards print "Simple cards generated: \n"; foreach my $cardName (@setCards) { my $fileName = "../Mage.Sets/src/mage/sets/" . $packageName . "/" . toCamelCase(${$cardName}[0]) . ".java"; if(!-e $fileName) { - system("gen-card.pl \"${$cardName}[0]\" true"); + system("./gen-card.pl \"${$cardName}[0]\" true"); } } \ No newline at end of file