Use unlink() instead of rm
in packaging script for Windows compat.
This commit is contained in:
parent
8ce41407dd
commit
8777d0d0da
@ -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
|
# 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("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("unzip -qo $abbr.zip -d addons/sourcemod/translations/");
|
||||||
system("rm $abbr.zip");
|
unlink("$abbr.zip");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close($fh);
|
close($fh);
|
||||||
|
Loading…
Reference in New Issue
Block a user