mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
only run svn info if .svn exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9213 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a1d7a399e4
commit
fa7f3132e1
@ -16,7 +16,7 @@ include $(TOPDIR)/include/verbose.mk
|
||||
ifneq ($(VERSION),)
|
||||
OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION))
|
||||
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),)
|
||||
OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user