From 3beaa98ed617fffabd9400d4e6c62524ca892561 Mon Sep 17 00:00:00 2001 From: USER Date: Mon, 6 Mar 2023 20:35:25 +0000 Subject: [PATCH] . --- shared/{rsGitClone => GitClonePublic} | 3 ++- shared/{rsGitPull => GitPullPublic} | 17 ++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) rename shared/{rsGitClone => GitClonePublic} (93%) rename shared/{rsGitPull => GitPullPublic} (60%) diff --git a/shared/rsGitClone b/shared/GitClonePublic similarity index 93% rename from shared/rsGitClone rename to shared/GitClonePublic index 7da646d..1c03ba1 100755 --- a/shared/rsGitClone +++ b/shared/GitClonePublic @@ -6,7 +6,7 @@ MYNAME=`uname -n` ZPC=/zz REPO='zPublic zPublicConfig zShared' - +KEYS= if [ ! -d ${ZPC} ] then @@ -18,6 +18,7 @@ do echo $i if [ ! -d ${ZPC}/$i ] then + echo $i cd ${ZPC} git clone https://github.com/spongle70/${i}.git fi diff --git a/shared/rsGitPull b/shared/GitPullPublic similarity index 60% rename from shared/rsGitPull rename to shared/GitPullPublic index d916c23..29844d0 100755 --- a/shared/rsGitPull +++ b/shared/GitPullPublic @@ -6,14 +6,17 @@ MYNAME=`uname -n` ZPC=/zz REPO='zPublic zPublicConfig zShared' +KEYS= - -if [ -d ${ZPC} ] -then - for i in `ls -d ${ZPC}/z*` - do +for i in ${REPO} +do + echo $i + if [ -d ${ZPC}/$i ] + then echo $i + cd ${ZPC} (cd $i; git pull) - done -fi + fi +done + exit 0