osmith has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/36/31136/1
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-MessageType: newchange