about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-09-18T08·26+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-09-18T08·26+0000
commit26f981c2e52bb8dc91311f9a4ca53f7e37233e5c (patch)
tree54608cf7ab731deaffc08d56139d4ce3ba205f76
parentc8ea8a09b88ec89ef9749e9d8bae09c7cada5d1f (diff)
* Remove garbage.
-rw-r--r--scripts/nix-install-package.in2
-rw-r--r--scripts/nix-prefetch-url.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in
index bb72601ebd93..3aaed7e59fc4 100644
--- a/scripts/nix-install-package.in
+++ b/scripts/nix-install-package.in
@@ -13,7 +13,7 @@ downloading it from URL.
 
 Flags:
   --profile / -p LINK: install into the specified profile
-  --non-interactive: don't run inside a new terminal XXX
+  --non-interactive: don't run inside a new terminal
 EOF
     ; # '
     exit 1;
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 5621d5204a4c..bd970e373437 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -48,7 +48,7 @@ if test -z "$finalPath"; then
 
     tmpPath=/tmp/nix-prefetch-url-$$ # !!! security?
     tmpFile=$tmpPath/$name
-    mkdir $tmpPath
+    mkdir $tmpPath # !!! retry if tmpPath already exists
 
     # Optionally do timestamp-based caching of the download.
     # Actually, the only thing that we cache in $NIX_DOWNLOAD_CACHE is