diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-05T18·26+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-05T18·26+0000 |
commit | 05fbf61f0e4f2670d23929235e2da5342599d447 (patch) | |
tree | 68b0048b9b08450c7eb21cbb3496395722f17b74 /scripts | |
parent | 84a4dd5ff08ceb7894d8dce662265d7d188e615c (diff) |
* nix-prefetch-url depends on sed (see
http://hydra.nixos.org/build/311170).
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nix-prefetch-url.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index 7d8bd93a42d8..31170fa953ea 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -24,7 +24,7 @@ fi # Handle escaped characters in the URI. `+', `=' and `?' are the only # characters that are valid in Nix store path names but have a special # meaning in URIs. -name=$(basename "$url" | sed -e 's/%2b/+/g' -e 's/%3d/=/g' -e 's/%3f/\?/g') +name=$(basename "$url" | @sed@ -e 's/%2b/+/g' -e 's/%3d/=/g' -e 's/%3f/\?/g') if test -z "$name"; then echo "invalid url"; exit 1; fi |