]> git.eshelyaron.com Git - emacs.git/commitdiff
* make-dist: Fix --no-update with no pre-existing MANIFEST.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2019 01:36:32 +0000 (17:36 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2019 01:36:32 +0000 (17:36 -0800)
make-dist

index 62e47b4d145e9570d8f4310966569dd97ce04b58..a56b7341feb167a9443a6b7d86b24bcd55f6097f 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -389,7 +389,7 @@ fi
 # 'git ls-files' later (e.g., after extraction from a tarball).
 # Otherwise, rely on the existing MANIFEST, which should be maintained some
 # other way when adding or deleting a distributed file while not using Git.
-if [ $update = yes ] && [ -r .git ]; then
+if ( [ $update = yes ] || [ ! -f MANIFEST ] ) && [ -r .git ]; then
   echo "Updating MANIFEST"
   if [ $with_tests = yes ]; then
     git ls-files >MANIFEST