summaryrefslogtreecommitdiff
path: root/build-aux/gitlog-to-emacslog
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/gitlog-to-emacslog')
-rwxr-xr-xbuild-aux/gitlog-to-emacslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/gitlog-to-emacslog b/build-aux/gitlog-to-emacslog
index 5c187f5eae0..6b9cfc145bc 100755
--- a/build-aux/gitlog-to-emacslog
+++ b/build-aux/gitlog-to-emacslog
@@ -68,7 +68,7 @@ if [ -f "$output" ]; then
fi
# If this is not a Git repository, just generate an empty ChangeLog.
-test -d .git || {
+test -e .git || {
>"$output"
exit
}