From ade9f7167dd1fec622c1f0ff7725cb6f6743b45d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 27 Nov 2015 11:16:29 +0100 Subject: [PATCH] nix-prefetch-git: make sure the script is interpreted by bash Fixes https://github.com/NixOS/nixpkgs/issues/11284. --- pkgs/build-support/fetchgit/nix-prefetch-git | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 22d46257075..fbefba5ccc0 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -1,4 +1,6 @@ -#! /bin/sh -e +#! /usr/bin/env bash + +set -e -o pipefail url= rev=