Code Review
/
integration
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix SDC_LOCAL_GITREPO for relative paths
[integration/csit.git]
/
scripts
/
sdc
/
setup_sdc_for_sanity.sh
diff --git
a/scripts/sdc/setup_sdc_for_sanity.sh
b/scripts/sdc/setup_sdc_for_sanity.sh
index
2d644c3
..
dba6eb5
100644
(file)
--- a/
scripts/sdc/setup_sdc_for_sanity.sh
+++ b/
scripts/sdc/setup_sdc_for_sanity.sh
@@
-50,6
+50,7
@@
mkdir -p "${WORKSPACE}/data/clone/"
cd "${WORKSPACE}/data/clone"
if using_local_images && [ -n "$SDC_LOCAL_GITREPO" ] ; then
+ SDC_LOCAL_GITREPO=$(realpath "$SDC_LOCAL_GITREPO")
if [ -d "$SDC_LOCAL_GITREPO" ] ; then
rm -rf ./sdc
cp -a "$SDC_LOCAL_GITREPO" ./sdc