aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorGlenn Morris2019-02-01 17:36:32 -0800
committerGlenn Morris2019-02-01 17:36:32 -0800
commitcdcdb11017342da2bf1f1cb360a8ef597f89b4dd (patch)
tree9bd644f29784a1b496fc2c8d7489c0ae465b92df /make-dist
parentd53ff31bf12b3dca83caf20c7360bb92822cb151 (diff)
downloademacs-cdcdb11017342da2bf1f1cb360a8ef597f89b4dd.tar.gz
emacs-cdcdb11017342da2bf1f1cb360a8ef597f89b4dd.zip
* make-dist: Fix --no-update with no pre-existing MANIFEST.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index 62e47b4d145..a56b7341feb 100755
--- a/make-dist
+++ b/make-dist
@@ -389,7 +389,7 @@ fi
389# 'git ls-files' later (e.g., after extraction from a tarball). 389# 'git ls-files' later (e.g., after extraction from a tarball).
390# Otherwise, rely on the existing MANIFEST, which should be maintained some 390# Otherwise, rely on the existing MANIFEST, which should be maintained some
391# other way when adding or deleting a distributed file while not using Git. 391# other way when adding or deleting a distributed file while not using Git.
392if [ $update = yes ] && [ -r .git ]; then 392if ( [ $update = yes ] || [ ! -f MANIFEST ] ) && [ -r .git ]; then
393 echo "Updating MANIFEST" 393 echo "Updating MANIFEST"
394 if [ $with_tests = yes ]; then 394 if [ $with_tests = yes ]; then
395 git ls-files >MANIFEST 395 git ls-files >MANIFEST