Openwrt/scripts
John Crispin 59acb0b8f4 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>

SVN-Revision: 44452
2015-02-14 20:48:37 +00:00
..
config
flashing
arm-magic.sh
brcmImage.pl
bundle-libraries.sh
checkpatch.pl
clang-gcc-wrapper
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
config.guess
config.rpath
config.sub
deptest.sh
diffconfig.sh
dl_cleanup.py
download.pl
env
ext-toolchain.sh
feeds build: allow openwrt.git packages to be replaced by feeds 2015-02-09 12:09:23 +00:00
freebsd.sh
gen-dependencies.sh scripts: avoid outputting empty lines in gen-dependencies.sh 2015-01-29 22:05:31 +00:00
getver.sh scripts: fix getver git dir check 2015-02-14 20:48:37 +00:00
ipkg
ipkg-make-index.sh
kconfig.pl
make-ipkg-dir.sh
md5sum
metadata.pl build: propagate override information to .config file 2015-02-09 12:09:43 +00:00
metadata.pm build: propagate override information to .config file 2015-02-09 12:09:43 +00:00
mkits.sh
om-fwupgradecfg-gen.sh
openbsd.sh
pad_image
patch-kernel.sh
patch-specs.sh
relink-lib.sh
remote-gdb
rstrip.sh scripts: extend rstrip.sh to remove bad rpaths 2015-02-10 15:48:48 +00:00
slugimage.pl
strip-kmod.sh
symlink-tree.sh
timestamp.pl
ubinize-image.sh
update-package-md5sum