diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20 15:44:59 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20 15:44:59 +0000 |
commit | 4213b8d8ec8cf478e43b0ec3dc4068e5e55f097a (patch) | |
tree | 2b95c8d933bae74c21d06ba7149d2ec1ab8924b0 /scripts/nix-copy-closure.in | |
parent | eb86b6f5a5429075866eca40d3cc4b864e7499ae (diff) |
* Urgh.
Diffstat (limited to 'scripts/nix-copy-closure.in')
-rw-r--r-- | scripts/nix-copy-closure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 0fa4e870f..688bec728 100644 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -1,7 +1,6 @@ #! @perl@ -w -my $binDir = $ENV{"NIX_BIN_DIR"}; -$binDir = "@bindir@" unless defined $binDir; +my $binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@"; if (scalar @ARGV < 1) { |