Print error message properly when ${RELEASE} is not set.
This commit is contained in:
parent
c7a778f6c1
commit
bbcdef6f71
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.42 2009/03/21 23:52:38 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.43 2009/03/22 07:35:43 tsutsui Exp $
|
||||
#
|
||||
# Consult "*.conf" for the configuration variables; this Makefile is typically
|
||||
# not edited for basic configuration changes.
|
||||
@ -94,6 +94,7 @@ RSYNC_HOST?= rsync.NetBSD.org
|
||||
# extra path for rsync mirrors ("/pub", "/netbsd" etc.)
|
||||
RSYNC_PATH_PREFIX?=
|
||||
|
||||
.if !target(.BEGIN)
|
||||
.if ${RELEASE} == "current"
|
||||
# daily date dir name
|
||||
BRANCH?= HEAD
|
||||
@ -109,6 +110,7 @@ RSYNC_PATH?= ${RSYNC_PATH_PREFIX}/NetBSD/${RELEASENAME}${RELEASE_SUFFIX}
|
||||
#BRANCH?= netbsd-4
|
||||
#RSYNC_PATH?= ${RSYNC_PATH_PREFIX}/NetBSD-daily/${BRANCH}/${DAILY_DIR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
RSYNC_SITE?= rsync://${RSYNC_HOST}${RSYNC_PATH}
|
||||
RSYNC_ARGS?= -va --delete
|
||||
|
Loading…
Reference in New Issue
Block a user