mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
safeguard against accidentally any parent dir under git
This commit is contained in:
parent
39af04cec0
commit
6a9d81997d
@ -21,6 +21,7 @@ fi
|
||||
echo $VERSION
|
||||
cd $RT_DEST_DIR
|
||||
echo " - Resetting existing $RT_DEST_DIR"
|
||||
export GIT_WORK_TREE="$RT_DEST_DIR"
|
||||
git reset HEAD --hard > /dev/null
|
||||
git clean -fd > /dev/null
|
||||
echo " - Removing and recreating $RT_DEST_DIR/current"
|
||||
|
Loading…
Reference in New Issue
Block a user