Check-in [9ff44d4252]
Overview
SHA1:9ff44d4252d414711c1990da6236d854ca4ec39a
Date: 2016-04-08 14:54:27
User: rkeene
Comment:Better check for patch command
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-04-08
15:50
[08115dbde5] Preserve timestamps when copying buildsrc for kitsh (user: rkeene, tags: trunk)
14:54
[9ff44d4252] Better check for patch command (user: rkeene, tags: trunk)
14:46
[fbd2f87d32] Updated to allow modules to do pre-build validation of the environment (user: rkeene, tags: trunk)
Changes

Modified tcl/validate.sh from [4a474661c0] to [188d2f0127].

1
2

3
4
5

6
7
8
9
10
#! /usr/bin/env bash


if [ ! -x "$(which patch 2>/dev/null)" ]; then
	echo "No \"patch\" command."
	echo "No \"patch\" command." >&4


	exit 1
fi

exit 0


>
|
<
|
>





1
2
3
4

5
6
7
8
9
10
11
#! /usr/bin/env bash

PATCH="${PATCH:-patch}"
if [ ! -x "$(which "${PATCH}" 2>/dev/null)" ]; then

	echo "No \"${PATCH}\" command (for patch)."
	echo "No \"${PATCH}\" command (for patch)." >&4

	exit 1
fi

exit 0