stgt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] README: link README.md to README for building pkg
@ 2023-01-12 14:01 Ray Lee
  0 siblings, 0 replies; only message in thread
From: Ray Lee @ 2023-01-12 14:01 UTC (permalink / raw)
  To: stgt; +Cc: Ray Lee

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.

Signed-off-by: Ray Lee <hburaylee@gmail.com>
---
 .gitignore           | 1 +
 scripts/build-pkg.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 8c28cb7..9ed9016 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ GTAGS
 GRTAGS
 GPATH
 GSYMS
+README
 
 #
 # programs
diff --git a/scripts/build-pkg.sh b/scripts/build-pkg.sh
index c6776c7..2b987fd 100755
--- a/scripts/build-pkg.sh
+++ b/scripts/build-pkg.sh
@@ -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
-- 
2.27.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-12 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 14:01 [PATCH 1/1] README: link README.md to README for building pkg Ray Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).