mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-19 13:20:36 +00:00
9e49e0a6c4
With the case of asking an invalid version that is too big, getver.sh might return an invalid output in the form of HEAD~-2260475641. This is caused by BASE_REV - GET_REV using a negative number. Prevent this by checking if BASE_REV - GET_REV actually return 0 or a positive number and set REV variable accordingly. With the following change, invalid revision number will result in unknown printed instead of the invalid HEAD~-NUMBERS output. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> |
||
---|---|---|
.. | ||
config | ||
flashing | ||
brcmImage.pl | ||
bundle-libraries.sh | ||
cameo-imghdr.py | ||
cameo-tag.py | ||
cfe-bin-header.py | ||
cfe-partition-tag.py | ||
cfe-wfi-tag.py | ||
check-toolchain-clean.sh | ||
checkpatch.pl | ||
clean-package.sh | ||
cleanfile | ||
cleanpatch | ||
combined-ext-image.sh | ||
combined-image.sh | ||
command_all.sh | ||
config.guess | ||
config.rpath | ||
config.sub | ||
const_structs.checkpatch | ||
deptest.sh | ||
diffconfig.sh | ||
dl_cleanup.py | ||
dl_github_archive.py | ||
download.pl | ||
dump-target-info.pl | ||
env | ||
ext-toolchain.sh | ||
ext-tools.sh | ||
feeds | ||
fixup-makefile.pl | ||
functions.sh | ||
gen_image_generic.sh | ||
gen-dependencies.sh | ||
get_source_date_epoch.sh | ||
getver.sh | ||
ipkg-build | ||
ipkg-make-index.sh | ||
ipkg-remove | ||
json_add_image_info.py | ||
json_overview_image_info.py | ||
kconfig.pl | ||
linksys-image.sh | ||
make-ipkg-dir.sh | ||
md5sum | ||
metadata.pm | ||
mkhash.c | ||
mkits-qsdk-ipq-image.sh | ||
mkits-zyxel-fit-filogic.sh | ||
mkits-zyxel-fit.sh | ||
mkits.sh | ||
moxa-encode-fw.py | ||
netgear-encrypted-factory.py | ||
noop.sh | ||
om-fwupgradecfg-gen.sh | ||
package-metadata.pl | ||
pad_image | ||
patch-kernel.sh | ||
patch-specs.sh | ||
portable_date.sh | ||
qemustart | ||
redboot-script.pl | ||
relink-lib.sh | ||
remote-gdb | ||
rstrip.sh | ||
sercomm-crypto.py | ||
sercomm-kernel-header.py | ||
sercomm-partition-tag.py | ||
sercomm-payload.py | ||
sercomm-pid.py | ||
sign_images.sh | ||
size_compare.sh | ||
slugimage.pl | ||
spelling.txt | ||
srecimage.pl | ||
strip-kmod.sh | ||
symlink-tree.sh | ||
sysupgrade-tar.sh | ||
target-metadata.pl | ||
time.pl | ||
timestamp.pl | ||
ubinize-image.sh | ||
xxdi.pl |