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 1 #! /usr/bin/env bash 2 2 3 -if [ ! -x "$(which patch 2>/dev/null)" ]; then 4 - echo "No \"patch\" command." 5 - echo "No \"patch\" command." >&4 3 +PATCH="${PATCH:-patch}" 4 +if [ ! -x "$(which "${PATCH}" 2>/dev/null)" ]; then 5 + echo "No \"${PATCH}\" command (for patch)." 6 + echo "No \"${PATCH}\" command (for patch)." >&4 6 7 7 8 exit 1 8 9 fi 9 10 10 11 exit 0