diff --git a/sbin/GitClone b/sbin/GitClone index 42c6132..6d9df13 100755 --- a/sbin/GitClone +++ b/sbin/GitClone @@ -5,7 +5,7 @@ echo "SCRIPT $0 starting" MYNAME=`uname -n` ZZ=/zz -REPO='zPublic zShared' +REPO= KEYS= if [ ! -d ${ZPC} ] @@ -18,10 +18,10 @@ REPOSITE=https://mint.nopenso.com/mirror for i in `ls ${ZZ}` do echo $i - if [ ! -d ${ZPC}/$i ] + if [ ! -d ${ZZ}/$i ] then echo $i - cd ${ZPC} + cd ${ZZ} git clone ${REPOSITE}/${i}.git fi done diff --git a/sbin/GitPull b/sbin/GitPull index 15f575c..deba71c 100755 --- a/sbin/GitPull +++ b/sbin/GitPull @@ -5,7 +5,7 @@ echo "SCRIPT $0 starting" MYNAME=`uname -n` ZZ=/zz -REPO='zPublic zShared' +REPO= KEYS= if [ ! -d ${ZPC} ] @@ -21,7 +21,7 @@ do if [ -d ${ZZ}/$i ] then echo $i - cd ${ZPC} + cd ${ZZ} (cd $i; git pull) fi done