* stdenv doesn't have an attribute named bash on FreeBSD (maybe it

should).

svn path=/nixpkgs/trunk/; revision=11053
This commit is contained in:
Eelco Dolstra 2008-03-11 10:26:50 +00:00
parent 7e436db74d
commit a35566af2b

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sed -e 's,^#!/usr/bin/env python,#!${python}/bin/python,g' \
> ,,tmp && mv ,,tmp asciidoc.py && chmod +x asciidoc.py
cat "a2x" | \
sed -e 's,^#!/usr/bin/env bash,#!${stdenv.bash}/bin/bash,g' \
sed -e 's,^#!/usr/bin/env bash,#!${stdenv.shell},g' \
> ,,tmp && mv ,,tmp a2x && chmod +x a2x
cat "install.sh" | \