Fix missing paths
commiteff240d9d949857b0174d0db88b2f027dba5a552
authorMichael Raskin <7c6f434c@mail.ru>
dateSat 20 Dec 2014, 21:49 (12 years ago)
parentb9331b0
pkgs/servers/http/nix-binary-cache/nix-binary-cache.cgi.in+1−1
@@ -51,7 +51,7 @@ case "$QUERY_STRING" in
5151 *.narinfo)
5252 hash=${QUERY_STRING%.narinfo}
5353 hash=${hash#/}
54− path="$(echo "$STORE_DIR/$hash-"* | sort | head -n 1)"
54+ path="$(echo "$STORE_DIR/$hash-"* | @coreutils@/sort | @coreutils@/head -n 1)"
5555 if [ -n "$path" ] && [ -e "$path" ]; then
5656 header
5757 info="$(