aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-14 20:48:37 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-14 20:48:37 +0000
commit0709b59745cca0191ade10af764006e1f40e8b63 (patch)
treefeafbffab708fc897d5e82a3cc327b0cc21b2788 /target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c
parent973f88e0d553f9e759aec13c31f184ff64d88906 (diff)
downloadupstream-0709b59745cca0191ade10af764006e1f40e8b63.tar.gz
upstream-0709b59745cca0191ade10af764006e1f40e8b63.tar.bz2
upstream-0709b59745cca0191ade10af764006e1f40e8b63.zip
scripts: fix getver git dir check
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44452 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c')
0 files changed, 0 insertions, 0 deletions