nix-prefetch-git: make sure the script is interpreted by bash

Fixes https://github.com/NixOS/nixpkgs/issues/11284.
This commit is contained in:
Peter Simons 2015-11-27 11:16:29 +01:00
parent b5e06b04a7
commit ade9f7167d

View File

@ -1,4 +1,6 @@
#! /bin/sh -e
#! /usr/bin/env bash
set -e -o pipefail
url=
rev=