mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
git-version: correct the workaround without git
This commit is contained in:
parent
8025137e7c
commit
49661ec8e5
@ -3,10 +3,13 @@
|
|||||||
if ! git status > /dev/null; then
|
if ! git status > /dev/null; then
|
||||||
# Either it's not a git repository, or git is unavaliable.
|
# Either it's not a git repository, or git is unavaliable.
|
||||||
# Just workaround.
|
# Just workaround.
|
||||||
echo "<!ENTITY version \"unknown\">" > version.ent
|
echo "<!ENTITY day \"??\">" > version.ent
|
||||||
echo "<!ENTITY versiond \"unknown-systemd\">" >> version.ent
|
echo "<!ENTITY month \"??\">" >> version.ent
|
||||||
echo "<!ENTITY releasedate \"unknown\">" >> version.ent
|
echo "<!ENTITY year \"????\">" >> version.ent
|
||||||
echo "<!ENTITY copyrightdate \"1999-2021\">" >> version.ent
|
echo "<!ENTITY copyrightdate \"1999-2021\">" >> version.ent
|
||||||
|
echo "<!ENTITY version \"unknown\">" >> version.ent
|
||||||
|
echo "<!ENTITY releasedate \"unknown\">" >> version.ent
|
||||||
|
echo "<!ENTITY pubdate \"unknown\">" >> version.ent
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user