about summary refs log tree commit diff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-11-20T15·44+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-11-20T15·44+0000
commit4213b8d8ec8cf478e43b0ec3dc4068e5e55f097a (patch)
tree2b95c8d933bae74c21d06ba7149d2ec1ab8924b0 /scripts/nix-pull.in
parenteb86b6f5a5429075866eca40d3cc4b864e7499ae (diff)
* Urgh.
Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r--scripts/nix-pull.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 016e330dcbe5..b3644b800e34 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -7,8 +7,7 @@ use readmanifest;
 my $tmpDir = tempdir("nix-pull.XXXXXX", CLEANUP => 1, TMPDIR => 1)
     or die "cannot create a temporary directory";
 
-my $binDir = $ENV{"NIX_BIN_DIR"};
-$binDir = "@bindir@" unless defined $binDir;
+my $binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@";
 
 my $libexecDir = $ENV{"NIX_LIBEXEC_DIR"};
 $libexecDir = "@libexecdir@" unless defined $libexecDir;