aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/getver.sh
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix getver git dir checkJohn Crispin2015-02-141-1/+1
| | | | | | | | | | | | | | | | | | | Git internals are referenced by .git which isn't necessarily a directory. It may also be a file that references the actual .git directory using the gitdir directive. If .git is assumed to be a directory the build will not be able to get the correct version when openwrt is included as a git submodule because when used as a submodule .git will actually be a file referencing to a subdirectory in the parent's git dir. When the correct version is not detected some image generation tools will fail because the OpenWrt string will be 'OpenWrtunknown' which is too long for some header formats. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 44452
* getver.sh: cope with varying "git log" line formats to reliably extract the ↵Jo-Philipp Wich2011-10-261-1/+1
| | | | | | git-svn rev (#10268) SVN-Revision: 28604
* getver: don't use "-r COMMITTED" arg which needs network access to the ↵Nicolas Thill2009-10-051-1/+1
| | | | | | repository, use the "Last Changed Rev:" line instead SVN-Revision: 17864
* getver: get svn rev from last commit so that we have consistent revision ↵Nicolas Thill2009-09-281-1/+1
| | | | | | numbers between git and svn SVN-Revision: 17781
* add hg support to getver.sh (patch from #5763)Felix Fietkau2009-08-281-1/+8
| | | | SVN-Revision: 17432
* some more s/git-/git /Felix Fietkau2008-08-241-1/+1
| | | | SVN-Revision: 12380
* Also export LC_ALL to C to work properly (#2926)Florian Fainelli2007-12-301-0/+1
| | | | SVN-Revision: 10059
* clean up openwrt version handling, use a separate script that is executed at ↵Felix Fietkau2007-12-131-0/+26
the beginning of the build process, fix revision checking with git SVN-Revision: 9723