aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-11-27 08:01:47 +0000
committerThierry Vignaud <tv@mageia.org>2012-11-27 08:01:47 +0000
commit89815d768e5432e2dbc389fb630fbf45c0aaa2b6 (patch)
tree8e98fa0086af967e9a4d3bb51ff19a31523291fb
parent8c7cc0abcc8fba7514428b124095a299861e3c77 (diff)
downloadiurt-89815d768e5432e2dbc389fb630fbf45c0aaa2b6.tar
iurt-89815d768e5432e2dbc389fb630fbf45c0aaa2b6.tar.gz
iurt-89815d768e5432e2dbc389fb630fbf45c0aaa2b6.tar.bz2
iurt-89815d768e5432e2dbc389fb630fbf45c0aaa2b6.tar.xz
iurt-89815d768e5432e2dbc389fb630fbf45c0aaa2b6.zip
simplify: unlink can work on a list...
-rwxr-xr-xemi2
1 files changed, 1 insertions, 1 deletions
diff --git a/emi b/emi
index c3868e5..491f034 100755
--- a/emi
+++ b/emi
@@ -289,7 +289,7 @@ sub upload_prefix_in_section {
}
# delete the files which should have heen either put in queue or rejected
- unlink($_) foreach @packages;
+ unlink(@packages);
# keep the log file for debugging
# unlink("$done/$path/$prefix.youri");