mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-08 11:34:13 +00:00
Display git version when running within a submodule
This commit is contained in:
parent
23f2401d46
commit
9896b6680a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user