reproduce.tt: Check for the presence of commands like nix-build
[?]
May 2, 2013, 2:19 PM
3G7OYUSEUIUAUIVL35TPPOKQNKPPPGSTKJDS32AWLKEB44JEKLTACDependencies
- [2]
5Q4ZLL37reproduce.tt: Add --help flag - [3]
HZWUT4YNAllow users to reproduce builds on their own systems
Change contents
- replacement in src/root/reproduce.tt at line 62
echo "storing sources in $tmpDir" >&2echo "storing inputs and results in $tmpDir" >&2requireCommand() {local cmd="$1"if ! type -P "$cmd" > /dev/null; thenecho "$0: command ‘$cmd’ is not installed; please install it and try again" >&2exit 1fireturn 0} - edit in src/root/reproduce.tt at line 85
echo - edit in src/root/reproduce.tt at line 87
requireCommand git - edit in src/root/reproduce.tt at line 105
echo - edit in src/root/reproduce.tt at line 107
requireCommand hg - edit in src/root/reproduce.tt at line 122
echo - edit in src/root/reproduce.tt at line 124
requireCommand svn - edit in src/root/reproduce.tt at line 156
requireCommand nix-build - edit in src/root/reproduce.tt at line 169
echo