Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 4671b63

Browse files
author
Gunnar Andersson
committed
ci-build: fix symlinks, take 3
find command was expected to fail on release/ in certain cases but -e flag then caused build to fail. Moving it inside of if-guard and less strict on -e. See previous commit for more. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
1 parent d365714 commit 4671b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ if [[ "$CREATE_RELEASE_DIR" == "true" ]]; then
568568
fi
569569

570570
# Also clean any broken links in staging
571-
find staging -type l ! -exec test -e "{}" \; -exec rm "{}" \;
571+
find staging -type l -exec rm "{}" \;
572572

573573
set +e
574574
echo "Artifacts in staging/ and release/"

0 commit comments

Comments
 (0)