Changeset 9213


Ignore:
Timestamp:
2007-10-09T05:37:31+02:00 (10 years ago)
Author:
nbd
Message:

only run svn info if .svn exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/toplevel.mk

    r8973 r9213  
    1717  OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION)) 
    1818else 
    19   REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) 
     19  REV:=$(if $(wildcard .svn/entries),$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )) 
    2020  ifneq ($(REV),) 
    2121    OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV) 
Note: See TracChangeset for help on using the changeset viewer.