.
This commit is contained in:
25
shared/GitClonePublic
Executable file
25
shared/GitClonePublic
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
echo "SCRIPT $0 starting"
|
||||
|
||||
MYNAME=`uname -n`
|
||||
|
||||
ZPC=/zz
|
||||
REPO='zPublic zPublicConfig zShared'
|
||||
KEYS=
|
||||
|
||||
if [ ! -d ${ZPC} ]
|
||||
then
|
||||
mkdir ${ZPC}
|
||||
fi
|
||||
|
||||
for i in ${REPO}
|
||||
do
|
||||
echo $i
|
||||
if [ ! -d ${ZPC}/$i ]
|
||||
then
|
||||
echo $i
|
||||
cd ${ZPC}
|
||||
git clone https://github.com/spongle70/${i}.git
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user