diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-06-13T14·34+0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-06-13T14·34+0000 |
commit | 194c66eeebdd6920716c82eeb259083d7bbd84c5 (patch) | |
tree | 9e86903b8155b090ffd2b3e9795a0e4e1df600ca | |
parent | f903d86740c918176bf299a114a03a49a17aa0b9 (diff) |
Stupid error in script
-rwxr-xr-x | scripts/nix-http-export.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-http-export.cgi.in b/scripts/nix-http-export.cgi.in index 6584524c4d70..ac28260d9c71 100755 --- a/scripts/nix-http-export.cgi.in +++ b/scripts/nix-http-export.cgi.in @@ -30,7 +30,7 @@ if [ "$needed_path" != "${needed_path%.drv}" ]; then exit fi -if [ @bindir@/nix-store --check-validity "$full_path" ]; then +if @bindir@/nix-store --check-validity "$full_path"; then if ! [ -e nix-export/"$needed_path".nar.gz ]; then @bindir@/nix-store --export "$full_path" | @gzip@ > "$TMP_DIR"/"$needed_path".nar.gz @coreutils@/ln -fs "$TMP_DIR"/"$needed_path".nar.gz nix-export/"$needed_path".nar.gz |