about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-06T12·53+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-06T12·53+0100
commit82951e5582ae7927cb90320accb989214ce07142 (patch)
tree9527b87efa83a6696b285f769866ed0fbaf68c83
parent620e92e880f8a011c5f465ea4fee2abf857d4ab2 (diff)
nix-push: Handle pushing a symlink
-rwxr-xr-xscripts/nix-push.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index b0124bc7a4..7a6670f67b 100755
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -72,8 +72,6 @@ $archivesURL = "file://$destDir" unless defined $archivesURL;
 my %storePaths;
 
 foreach my $path (@roots) {
-    die unless $path =~ /^\//;
-
     # Get all paths referenced by the normalisation of the given
     # Nix expression.
     my $pid = open(READ,