Skip to content

Commit f1f38d3

Browse files
riastradhriastradh
riastradh
authored and
riastradh
committed
build.sh: Adjust xsrc existence test as requested.
PR toolchain/58399
1 parent 41caf4e commit f1f38d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /usr/bin/env sh
2-
# $NetBSD: build.sh,v 1.378 2024/07/05 00:34:11 riastradh Exp $
2+
# $NetBSD: build.sh,v 1.379 2024/07/23 20:46:40 riastradh Exp $
33
#
44
# Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
55
# All rights reserved.
@@ -1547,7 +1547,7 @@ sanitycheck()
15471547

15481548
while [ ${MKX11-no} = "yes" ]; do # not really a loop
15491549
test -n "${X11SRCDIR}" && {
1550-
test -f "${X11SRCDIR}/Makefile" ||
1550+
test -d "${X11SRCDIR}/external" ||
15511551
bomb "X11SRCDIR (${X11SRCDIR}) does not exist (with -x)"
15521552
break
15531553
}
@@ -2031,7 +2031,7 @@ createmakewrapper()
20312031
eval cat <<EOF ${makewrapout}
20322032
#! ${HOST_SH}
20332033
# Set proper variables to allow easy "make" building of a NetBSD subtree.
2034-
# Generated from: \$NetBSD: build.sh,v 1.378 2024/07/05 00:34:11 riastradh Exp $
2034+
# Generated from: \$NetBSD: build.sh,v 1.379 2024/07/23 20:46:40 riastradh Exp $
20352035
# with these arguments: ${_args}
20362036
#
20372037

0 commit comments

Comments
 (0)