Tried to fix gclone

This commit is contained in:
Thomas Forgione 2018-12-10 11:05:49 +01:00
parent 236d66c874
commit 1ab8f11ab2
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 2 additions and 2 deletions

View File

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