Display git version when running within a submodule

This commit is contained in:
Jeremy Lakeman 2014-08-25 13:43:19 +09:30
parent 23f2401d46
commit 9896b6680a

View File

@ -98,7 +98,7 @@ esac
cd "$repo_path" >/dev/null
if [ ! -d .git ]; then
if [ ! -e .git ]; then
if [ -s VERSION.txt ] && [ $(cat VERSION.txt | wc -l) -eq 1 ]; then
cat VERSION.txt
else