Skip to contentSkip to conversation

README: link README.md to README for building pkg

PATCH New Ray Lee 1 participant 1 message Jan 12, 2023

lore
Share & tools
lore

Ray Lee

author
#0 lore raw

PATCH 1/1 README: link README.md to README for building pkg

make rpm reports:
Building version: 1.0.85-v1.0.85
Creating rpm build dirs under /home/github/tgt/pkg
cp: cannot stat 'README': No such file or directory

File README is needed when building pkg.

---
 .gitignore           | 1 +
 scripts/build-pkg.sh | 1 +
 2 files changed, 2 insertions(+)
.gitignore +1 -0
index 8c28cb7..9ed9016 100644
@@ -23,6 +23,7 @@ GTAGS
 GRTAGS
 GPATH
 GSYMS
+README
 
 #
 # programs
scripts/build-pkg.sh +1 -0
index c6776c7..2b987fd 100755
@@ -43,6 +43,7 @@ echo "Building version: $version-$release"
 
 cp_src() {
     local dest=$1
+    ln -sf README.md README
     cp -a conf $dest
     cp -a doc $dest
     cp -a scripts $dest
Signature · 1 line
2.27.0