osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ci/+/31136 )
Change subject: coverity/local_test: fix copy error
......................................................................
coverity/local_test: fix copy error
coverity/common.sh is a symlink to ../scripts/common.sh in this git
repository. The local_test.sh already adjusts the symlink so it points
to the right place after copying related scripts to /tmp/coverity.
However when running the script again, cp would fail with:
cp: '/home/user/code/osmo-dev/src/osmo-ci/coverity/common.sh' and
'/tmp/coverity/common.sh' are the same file
Remove the symlink to avoid this error.
Change-Id: I081871e6e06547a90879bc4aa08ac2b5c5ddaeef
---
M coverity/local_test.sh
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
fixeria: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
diff --git a/coverity/local_test.sh b/coverity/local_test.sh
index dffb101..a36aac9 100755
--- a/coverity/local_test.sh
+++ b/coverity/local_test.sh
@@ -6,6 +6,7 @@
export SRC_CLEAN=1
mkdir -p /tmp/coverity
+rm -f /tmp/coverity/common.sh
cp "$SCRIPT_DIR"/* /tmp/coverity
ln -sf "$SCRIPT_DIR/../scripts/common.sh" /tmp/coverity/common.sh
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/31136
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I081871e6e06547a90879bc4aa08ac2b5c5ddaeef
Gerrit-Change-Number: 31136
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged