Changeset 49661ec for git-version.sh


Ignore:
Timestamp:
10/16/2021 08:17:34 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
50836740
Parents:
8025137
git-author:
Xi Ruoyao <xry111@…> (10/16/2021 07:26:41 PM)
git-committer:
Xi Ruoyao <xry111@…> (10/16/2021 08:17:34 PM)
Message:

git-version: correct the workaround without git

File:
1 edited

Legend:

Unmodified
Added
Removed
  • git-version.sh

    r8025137 r49661ec  
    44        # Either it's not a git repository, or git is unavaliable.
    55        # Just workaround.
    6         echo "<!ENTITY version           \"unknown\">"         >  version.ent
    7         echo "<!ENTITY versiond          \"unknown-systemd\">" >> version.ent
     6        echo "<!ENTITY day               \"??\">"              >  version.ent
     7        echo "<!ENTITY month             \"??\">"              >> version.ent
     8        echo "<!ENTITY year              \"????\">"            >> version.ent
     9        echo "<!ENTITY copyrightdate     \"1999-2021\">"       >> version.ent
     10        echo "<!ENTITY version           \"unknown\">"         >> version.ent
    811        echo "<!ENTITY releasedate       \"unknown\">"         >> version.ent
    9         echo "<!ENTITY copyrightdate     \"1999-2021\">"       >> version.ent
     12        echo "<!ENTITY pubdate           \"unknown\">"         >> version.ent
    1013        exit 0
    1114fi
Note: See TracChangeset for help on using the changeset viewer.