reproduce.tt: Wrap script to prevent problems piping into bash

This commit is contained in:
Eelco Dolstra 2015-05-26 17:11:29 +02:00
parent c32a244bd7
commit ff8cb93fe7

View file

@ -1,5 +1,7 @@
#! /usr/bin/env bash
main() {
# This script has been generated automatically by Hydra from the build
# at [% c.uri_for('/build' build.id) %].
@ -211,3 +213,7 @@ info "running nix-build..."
echo "using these flags: ${args[@]}" >&2
exec nix-build "${args[@]}" "${extraArgs[@]}"
}
main