Skip to content

Commit 5093d77

Browse files
committed
mkrelease: Merely test if .git exists; it may be a symlink.
1 parent b7e8849 commit 5093d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkrelease.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
if ! test -d .git
3+
if ! test -e .git
44
then
55
echo This script must be run in a Git repository
66
exit 1

0 commit comments

Comments
 (0)