Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 62da2f0

Browse files
committed
Pass -f to rm to ignore empty lists
1 parent b1ece61 commit 62da2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

master/master.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ def distsnap_buildfactory(platform, channel_label):
11851185
for host in all_platform_hosts(platform):
11861186
# `find`, not `ls`, because we need the full path to what we'll remove
11871187
clean_cmd = "find " + local_dist_platform_dir + \
1188-
"/*.gz | grep " + host + " | xargs rm"
1188+
"/*.gz | grep " + host + " | xargs rm -f"
11891189
f.addStep(MasterShellCommand(name="remove " + host + " artifacts",
11901190
command=["sh", "-c", clean_cmd]))
11911191

0 commit comments

Comments
 (0)