added space before ]

This commit is contained in:
Trevor Batley 2023-06-02 20:58:52 +10:00
parent 65e19bcdda
commit 95e4647899

View File

@ -245,8 +245,8 @@ if [ "$RESPONSE" == "200" ]; then
# If so, clone it (just want the README.md)
if [ $DEBUG ] ; then echo "git clone $GITEAHOST/$ORGGITEA/$1.git" ; fi
cd $GITFiles
git clone "$GITEAHOST/$ORGGITEA/$1.git"
if [[ -f $GITFILES/$1/README.md]] ; then
git clone "$GITEAHOST/$ORGGITEA/$1.git" $suppress
if [[ -f $GITFILES/$1/README.md ]] ; then
# Move it and remember its new (temp) name
READMECONTENTS=`mktemp`
mv -f README.md "$READMECONTENTS"