Someone is leaking GIT_DIR env
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
2d435980c7
commit
923f8e22fc
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ src="$1"
|
|||
dest="$2"
|
||||
if [ -d $dest/.git ]; then
|
||||
cd $dest
|
||||
unset GIT_DIR
|
||||
/usr/bin/git pull 2>&1
|
||||
else
|
||||
/usr/bin/git clone $src $dest 2>&1 | sed 's/^/ /'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue