From ce8d7dc5403d5acf38e34fc5c6eef8265dcc745a Mon Sep 17 00:00:00 2001 From: USER Date: Mon, 27 Mar 2023 21:33:25 +0100 Subject: [PATCH] . --- sbin/GitPull | 3 +-- shared/_nfile | 5 +++++ shared/_nfileH | 5 +++++ shared/_nmsg | 6 ++++++ shared/_nmsgH | 6 ++++++ 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/sbin/GitPull b/sbin/GitPull index deba71c..82cf6f6 100755 --- a/sbin/GitPull +++ b/sbin/GitPull @@ -21,8 +21,7 @@ do if [ -d ${ZZ}/$i ] then echo $i - cd ${ZZ} - (cd $i; git pull) + cd ${ZZ}/$i; git pull) fi done diff --git a/shared/_nfile b/shared/_nfile index c89b8ea..c4e5a8e 100755 --- a/shared/_nfile +++ b/shared/_nfile @@ -37,6 +37,11 @@ then BASE=/volume12/zTools/Sync${MYNAME}/zTools/zSyno fi +if [ -d /zz ] +then + BASE=/zz +fi + echo "BASE=${BASE}" if [ -f ${BASE}/secrets/.${MYNAME} ] then diff --git a/shared/_nfileH b/shared/_nfileH index dc2eeee..33e41ad 100755 --- a/shared/_nfileH +++ b/shared/_nfileH @@ -37,6 +37,11 @@ then BASE=/volume12/zTools/Sync${MYNAME}/zTools/zSyno fi +if [ -d /zz ] +then + BASE=/zz +fi + echo "BASE=${BASE}" if [ -f ${BASE}/secrets/.${MYNAME} ] then diff --git a/shared/_nmsg b/shared/_nmsg index 2714a0e..d326cf2 100755 --- a/shared/_nmsg +++ b/shared/_nmsg @@ -55,6 +55,12 @@ then BASE=/volume12/zTools/Sync${MYNAME}/zTools/zSyno fi +if [ -d /zz ] +then + BASE=/zz +fi + + # echo "BASE=${BASE}" # if [ -f ${BASE}/secrets/.${MYNAME} ] # then diff --git a/shared/_nmsgH b/shared/_nmsgH index d4c9c0c..b67b429 100755 --- a/shared/_nmsgH +++ b/shared/_nmsgH @@ -55,6 +55,12 @@ then BASE=/volume12/zTools/Sync${MYNAME}/zTools/zSyno fi +if [ -d /zz ] +then + BASE=/zz +fi + + # echo "BASE=${BASE}" # if [ -f ${BASE}/secrets/.${MYNAME} ] # then