Changeset 3880
- Timestamp:
- 10/14/09 20:28:21 (2 years ago)
- Files:
-
- branches/freewrt_1_0/BSDmakefile (modified) (2 diffs)
- branches/freewrt_1_0/GNUmakefile (modified) (1 diff)
- trunk/freewrt/BSDmakefile (modified) (2 diffs)
- trunk/freewrt/GNUmakefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/freewrt_1_0/BSDmakefile
r679 r3880 7 7 TOPDIR= ${.CURDIR} 8 8 PWD= ${.CURDIR} 9 USER_ID!= id -u 9 10 10 11 .if defined(package) && !empty(package) … … 12 13 .endif 13 14 14 .if defined(subdir) && !empty(subdir) 15 .if ${USER_ID} == 0 16 ${.TARGETS}: _nixda 17 18 _nixda: 19 @echo Do not build as root! It causes problems. 20 @exit 1 21 .elif defined(subdir) && !empty(subdir) 15 22 _subdir:= ${.TARGETS} 16 23 ${.TARGETS}: _subdir branches/freewrt_1_0/GNUmakefile
r679 r3880 7 7 TOPDIR:= $(shell pwd) 8 8 PWD:= ${TOPDIR} 9 10 ifeq ($(shell id -u),0) 11 $(error Do not build as root! It causes problems) 12 endif 9 13 10 14 ifneq (${package},) trunk/freewrt/BSDmakefile
r3732 r3880 7 7 TOPDIR= ${.CURDIR} 8 8 PWD= ${.CURDIR} 9 USER_ID!= id -u 9 10 10 11 .if defined(package) && !empty(package) … … 15 16 .endif 16 17 17 .if defined(subdir) && !empty(subdir) 18 .if ${USER_ID} == 0 19 ${.TARGETS}: _nixda 20 21 _nixda: 22 @echo Do not build as root! It causes problems. 23 @exit 1 24 .elif defined(subdir) && !empty(subdir) 18 25 _subdir:= ${.TARGETS} 19 26 ${.TARGETS}: _subdir trunk/freewrt/GNUmakefile
r3732 r3880 7 7 TOPDIR:= $(shell pwd) 8 8 PWD:= ${TOPDIR} 9 10 ifeq ($(shell id -u),0) 11 $(error Do not build as root! It causes problems) 12 endif 9 13 10 14 ifneq (${package},)


