Welcome to little lamb

Code » comain » commit cb87624

mktarball: Fix generating README

author Olivier Brunel
2024-01-02 10:27:19 UTC
committer Olivier Brunel
2024-01-09 18:16:31 UTC
parent 9adc8fe81f07027327fc80c8dfc6543ccba30fb6

mktarball: Fix generating README

mktarball +2 -2

diff --git a/mktarball b/mktarball
index 32ac20a..1ce4aaf 100755
--- a/mktarball
+++ b/mktarball
@@ -62,8 +62,8 @@ echo "  -> Set up configure & common.mk..."
 make -C $tb
 
 echo "  -> Generate README..."
-tryrun rm $tb/README
-tryrun comain/mkreadme > $tb/README
+test -e $tb/README && tryrun rm $tb/README
+tryrun "$(dirname $0)"/mkreadme > $tb/README
 
 if ! test -e $tb/src/include; then mkdir $tb/src/include; fi