mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-02 04:46:16 +02:00
parent
8c97372e0d
commit
c3a2acf7db
|
@ -16,7 +16,7 @@ include $(TOPDIR)/include/verbose.mk
|
||||||
ifneq ($(VERSION),)
|
ifneq ($(VERSION),)
|
||||||
OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION))
|
OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION))
|
||||||
else
|
else
|
||||||
REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
|
REV:=$(if $(wildcard .svn/entries),$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ))
|
||||||
ifneq ($(REV),)
|
ifneq ($(REV),)
|
||||||
OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV)
|
OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue