From de1247ce78808cbcbabb5c56f652f545b0d5f513 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 18 Jul 2019 15:40:11 +0200 Subject: [PATCH] phase2: fix copy-paste error in previous commit Fixes: c17b550 ("phase2: sanitize SDK host command symlinks") Signed-off-by: Jo-Philipp Wich --- phase2/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.30.2