projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c97372
)
only run svn info if .svn exists
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 9 Oct 2007 03:37:31 +0000
(
03:37
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 9 Oct 2007 03:37:31 +0000
(
03:37
+0000)
SVN-Revision: 9213
include/toplevel.mk
patch
|
blob
|
history
diff --git
a/include/toplevel.mk
b/include/toplevel.mk
index a9ca3a2806ff9955219d3797794547231211c485..3e391653490d99ef4936b990698e1df459352373 100644
(file)
--- a/
include/toplevel.mk
+++ b/
include/toplevel.mk
@@
-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