From 8777d0d0da872192e6e80dfa5b9bee6765f7b005 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 12 Sep 2015 15:12:45 -0400 Subject: [PATCH] Use unlink() instead of `rm` in packaging script for Windows compat. --- tools/buildbot/package.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildbot/package.pl b/tools/buildbot/package.pl index aefe4289..611464fd 100755 --- a/tools/buildbot/package.pl +++ b/tools/buildbot/package.pl @@ -48,7 +48,7 @@ while (my $ln = <$fh>) { # Don't check certificate. It will fail on the slaves and we're resolving to internal addressing anyway system("wget --no-check-certificate -q -O $abbr.zip \"https://sm.alliedmods.net/translator/index.php?go=translate&op=export&lang_id=$id\""); system("unzip -qo $abbr.zip -d addons/sourcemod/translations/"); - system("rm $abbr.zip"); + unlink("$abbr.zip"); } } close($fh);