remove suppress from git clone
This commit is contained in:
parent
ad89dc6c4c
commit
040abb21e0
@ -243,9 +243,9 @@ RESPONSE=$(curl $checkSSL $curlsilent -o /dev/null -w "%{http_code}" "$GITEAHOST
|
||||
if [ "$RESPONSE" == "200" ]; then
|
||||
if [ $DEBUG ] ; then echo "************Repository for $1 already exists!" ; fi
|
||||
# If so, clone it (just want the README.md)
|
||||
if [ $DEBUG ] ; then echo "git clone $GITEAHOST/$ORGGITEA/$1.git $suppress" ; fi
|
||||
if [ $DEBUG ] ; then echo "git clone $GITEAHOST/$ORGGITEA/$1.git" ; fi
|
||||
cd $GITFiles
|
||||
git clone "$GITEAHOST/$ORGGITEA/$1.git" "$suppress"
|
||||
git clone "$GITEAHOST/$ORGGITEA/$1.git"
|
||||
if [[ -f $GITFILES/$1/README.md ]] ; then
|
||||
# Move it and remember its new (temp) name
|
||||
READMECONTENTS=`mktemp`
|
||||
@ -320,8 +320,8 @@ fi
|
||||
|
||||
# Pull in the auto created or updated files
|
||||
cd $GITFiles
|
||||
#GIT_SSL_NO_VERIFY=true git clone "$GITEAHOST/$ORGGITEA/$1.git $suppress"
|
||||
git clone "$GITEAHOST/$ORGGITEA/$1.git" "$suppress"
|
||||
#GIT_SSL_NO_VERIFY=true git clone "$GITEAHOST/$ORGGITEA/$1.git"
|
||||
git clone "$GITEAHOST/$ORGGITEA/$1.git"
|
||||
|
||||
if [ ! -d $GITFiles/$1 ] ; then
|
||||
echo "ERROR*******Unable to access the new repo directory for $HTTP_URL $GITFiles/$1"
|
||||
@ -566,7 +566,7 @@ fi
|
||||
if [ ! -e $GITFiles/common ]; then
|
||||
#Get it
|
||||
cd $GITFiles
|
||||
git clone "${smegit_COMMONREPO}" "$suppress"
|
||||
git clone "${smegit_COMMONREPO}"
|
||||
if [ ! -e $GITFiles/common ]; then
|
||||
echo "ERROR*******No Common Repo found - package $1"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user