Merge "Only hardlink files from cache_dir if it exists"
This commit is contained in:
commit
76b448914d
|
@ -517,8 +517,10 @@ function setup_workspace {
|
||||||
rm -rf ~/cache/files/
|
rm -rf ~/cache/files/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# copy them to where devstack expects with hardlinks to save space
|
if [ -d $cache_dir ]; then
|
||||||
find $cache_dir -mindepth 1 -maxdepth 1 -exec cp -l {} $DEST/devstack/files/ \;
|
# copy them to where devstack expects with hardlinks to save space
|
||||||
|
find $cache_dir -mindepth 1 -maxdepth 1 -exec cp -l {} $DEST/devstack/files/ \;
|
||||||
|
fi
|
||||||
|
|
||||||
# Disable detailed logging as we return to the main script
|
# Disable detailed logging as we return to the main script
|
||||||
$xtrace
|
$xtrace
|
||||||
|
|
Loading…
Reference in New Issue