From: Jo-Philipp Wich Date: Thu, 18 Jul 2019 13:40:11 +0000 (+0200) Subject: phase2: fix copy-paste error in previous commit X-Git-Tag: v1~72 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=de1247ce78808cbcbabb5c56f652f545b0d5f513;p=buildbot.git phase2: fix copy-paste error in previous commit Fixes: c17b550 ("phase2: sanitize SDK host command symlinks") Signed-off-by: Jo-Philipp Wich --- diff --git a/phase2/master.cfg b/phase2/master.cfg index 74fc9b4..da2bbd8 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -356,7 +356,7 @@ for arch in arches: factory.addStep(ShellCommand( name = "cleancmdlinks", description = "Sanitizing host command symlinks", - command = "sdk/staging_dir/host/bin/ -type l -exec sh -c 'case $(readlink {}) in /bin/*|/usr/bin/*) true;; /*) rm -vf {};; esac' \\;", + command = "find sdk/staging_dir/host/bin/ -type l -exec sh -c 'case $(readlink {}) in /bin/*|/usr/bin/*) true;; /*) rm -vf {};; esac' \\;", haltOnFailure = True)) factory.addStep(StringDownload(