For consistency, check MKREPRO_TIMESTAMP always numerically (not as string)
This commit is contained in:
parent
39f3caee78
commit
2ac6a76527
6
build.sh
6
build.sh
|
@ -1,5 +1,5 @@
|
||||||
#! /usr/bin/env sh
|
#! /usr/bin/env sh
|
||||||
# $NetBSD: build.sh,v 1.376 2024/04/20 12:25:46 rillig Exp $
|
# $NetBSD: build.sh,v 1.377 2024/04/23 07:47:36 martin Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
|
# Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -2031,7 +2031,7 @@ createmakewrapper()
|
||||||
eval cat <<EOF ${makewrapout}
|
eval cat <<EOF ${makewrapout}
|
||||||
#! ${HOST_SH}
|
#! ${HOST_SH}
|
||||||
# Set proper variables to allow easy "make" building of a NetBSD subtree.
|
# Set proper variables to allow easy "make" building of a NetBSD subtree.
|
||||||
# Generated from: \$NetBSD: build.sh,v 1.376 2024/04/20 12:25:46 rillig Exp $
|
# Generated from: \$NetBSD: build.sh,v 1.377 2024/04/23 07:47:36 martin Exp $
|
||||||
# with these arguments: ${_args}
|
# with these arguments: ${_args}
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -2433,7 +2433,7 @@ setup_mkrepro()
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
[ "${MKREPRO_TIMESTAMP}" != "0" ] || bomb "Failed to compute timestamp"
|
[ "${MKREPRO_TIMESTAMP}" -ne 0 ] || bomb "Failed to compute timestamp"
|
||||||
if [ -z "${quiet}" ]; then
|
if [ -z "${quiet}" ]; then
|
||||||
statusmsg2 "MKREPRO_TIMESTAMP" \
|
statusmsg2 "MKREPRO_TIMESTAMP" \
|
||||||
"$(repro_date "${MKREPRO_TIMESTAMP}")"
|
"$(repro_date "${MKREPRO_TIMESTAMP}")"
|
||||||
|
|
Loading…
Reference in New Issue