phase2: fix copy-paste error in previous commit
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Jul 2019 13:40:11 +0000 (15:40 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 18 Jul 2019 13:40:11 +0000 (15:40 +0200)
Fixes: c17b550 ("phase2: sanitize SDK host command symlinks")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index 74fc9b485435a31aed8042d726d0dd85e4a4ce6e..da2bbd8cc7446569d79f3a838e25649a64a06365 100644 (file)
@@ -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(