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 so, clone it (just want the README.md)
if [ $DEBUG ] ; then echo "git clone $GITEAHOST/$ORGGITEA/$1.git" ; fi if [ $DEBUG ] ; then echo "git clone $GITEAHOST/$ORGGITEA/$1.git" ; fi
cd $GITFiles cd $GITFiles
git clone "$GITEAHOST/$ORGGITEA/$1.git" git clone "$GITEAHOST/$ORGGITEA/$1.git" $suppress
if [[ -f $GITFILES/$1/README.md]] ; then if [[ -f $GITFILES/$1/README.md ]] ; then
# Move it and remember its new (temp) name # Move it and remember its new (temp) name
READMECONTENTS=`mktemp` READMECONTENTS=`mktemp`
mv -f README.md "$READMECONTENTS" mv -f README.md "$READMECONTENTS"