]> code.delx.au - gnu-emacs/blobdiff - build-aux/gitlog-to-emacslog
Do not require that .git be a directory
[gnu-emacs] / build-aux / gitlog-to-emacslog
index 5c187f5eae01c3c608a587c78c7638b506d27d51..6b9cfc145bcd3a798be0869bc2a8472d7954bf9f 100755 (executable)
@@ -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
 }