Fixed weird gclone bug
This commit is contained in:
parent
0521c68b06
commit
236d66c874
|
@ -32,8 +32,7 @@ if [ -d "$GCLONE_PATH" ]; then
|
||||||
# If the clone worked, move the repo in the good place
|
# If the clone worked, move the repo in the good place
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
||||||
mkdir -p $repo_path
|
mkdir -p `dirname $repo_path`
|
||||||
|
|
||||||
mv $tempdir/$repo $repo_path
|
mv $tempdir/$repo $repo_path
|
||||||
|
|
||||||
if [ ! -f $GCLONE_PATH/.cdgcache ]; then
|
if [ ! -f $GCLONE_PATH/.cdgcache ]; then
|
||||||
|
|
Loading…
Reference in New Issue