Don't rely on {} expansion since not all shells have that.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23375 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonas Häggqvist 2009-10-27 23:40:46 +00:00
parent 35ee2fdd45
commit cd2a4df5f1

View file

@ -148,7 +148,11 @@ sub runone {
}
my $toplevel = getcwd();
chdir(dirname($newo));
$cmd = "zip -9 -r -q \"".basename($newo)."\" \"".basename($newo)."\"/{rockboxui*,UI256.bmp,SDL.dll,simdisk}";
$cmd = "zip -9 -r -q \"".basename($newo)."\" "
. "\"".basename($newo)."\"/rockboxui* "
. "\"".basename($newo)."\"/UI256.bmp "
. "\"".basename($newo)."\"/SDL.dll "
. "\"".basename($newo)."\"/simdisk ";
print("$cmd\n") if($verbose);
`$cmd`;
chdir($toplevel);