projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57a96e
)
only run svn info if .svn exists
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Oct 2007 03:37:31 +0000
(
03:37
+0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Oct 2007 03:37:31 +0000
(
03:37
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9213
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/toplevel.mk
patch
|
blob
|
history
diff --git
a/include/toplevel.mk
b/include/toplevel.mk
index
a9ca3a2
..
3e39165
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
This page took
0.028045 seconds
and
4
git commands to generate.