fix Makefile

This commit is contained in:
Trevor Batley 2024-03-27 16:57:44 +11:00
parent 6fff2d19f5
commit f948bbc974

View File

@ -277,7 +277,7 @@ RESPONSE=$(curl "$checkSSL" "$SILENT4CURL" -X 'POST' \
-d '{ -d '{
"auto_init": true, "auto_init": true,
"default_branch": "master", "default_branch": "master",
"description": "'"perl git repo for $RepoName $ORGGITEA"'", "description": "'"$PACKAGETYPE git repo for $RepoName $ORGGITEA"'",
"gitignores": "", "gitignores": "",
"issue_labels": "Default", "issue_labels": "Default",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -406,7 +406,6 @@ if [ $DEBUG ] ; then echo "************Found 3rd party package $NAME" ; fi
git lfs install git lfs install
git lfs track "*.$EXT" git lfs track "*.$EXT"
git add .gitattributes git add .gitattributes
#git config lfs.http://gitea.bjsystems.co.uk/SMEContribs/bugzilla.git/info/lfs.locksverify true
if [[ -f $perlFiles/$RepoName/$ARCHIVEFILE ]] ; then if [[ -f $perlFiles/$RepoName/$ARCHIVEFILE ]] ; then
if [ $DEBUG ] ; then echo "************Copying archivefile $perlFiles/$RepoName/$ARCHIVEFILE" ; fi if [ $DEBUG ] ; then echo "************Copying archivefile $perlFiles/$RepoName/$ARCHIVEFILE" ; fi
cp $perlFiles/$RepoName/$ARCHIVEFILE . cp $perlFiles/$RepoName/$ARCHIVEFILE .
@ -439,7 +438,7 @@ fi
# Edit the Readme.md - try to add a link to the wiki for this package - only if it is an SME package # Edit the Readme.md - try to add a link to the wiki for this package - only if it is an SME package
cd $GITFiles/$RepoName cd $GITFiles/$RepoName
DESCRIPTION=`rpm --queryformat '%{description}\n' --specfile "$SPECFILE"` DESCRIPTION=`rpm --queryformat '%{description}\n' --specfile $SPECFILE`
cat > README.md <<- _EOT cat > README.md <<- _EOT
# $RepoName # $RepoName