Fixed weird gclone bug

This commit is contained in:
Thomas Forgione 2018-12-04 18:27:57 +01:00
parent 0521c68b06
commit 236d66c874
No known key found for this signature in database
GPG Key ID: 63D3E1A00D54FD76
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ if [ -d "$GCLONE_PATH" ]; then
# If the clone worked, move the repo in the good place
if [ $? -eq 0 ]; then
mkdir -p $repo_path
mkdir -p `dirname $repo_path`
mv $tempdir/$repo $repo_path
if [ ! -f $GCLONE_PATH/.cdgcache ]; then