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