Skip to content

Commit

Permalink
install: use tar -f -
Browse files Browse the repository at this point in the history
fixes NixOS#169
  • Loading branch information
woffs committed Apr 17, 2018
1 parent e17c16e commit 6a4b15c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nix/install-1.11.16
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fi

unpack=$tmpDir/unpack
mkdir -p "$unpack"
< "$tarball" bzcat | tar x -C "$unpack" || oops "failed to unpack '$url'"
< "$tarball" bzcat | tar -xf - -C "$unpack" || oops "failed to unpack '$url'"

script=$(echo "$unpack"/*/install)

Expand Down
2 changes: 1 addition & 1 deletion nix/install-2.0
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fi

unpack=$tmpDir/unpack
mkdir -p "$unpack"
< "$tarball" bzcat | tar x -C "$unpack" || oops "failed to unpack '$url'"
< "$tarball" bzcat | tar -xf - -C "$unpack" || oops "failed to unpack '$url'"

script=$(echo "$unpack"/*/install)

Expand Down
2 changes: 1 addition & 1 deletion nix/install.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fi

unpack=$tmpDir/unpack
mkdir -p "$unpack"
< "$tarball" bzcat | tar x -C "$unpack" || oops "failed to unpack '$url'"
< "$tarball" bzcat | tar -xf - -C "$unpack" || oops "failed to unpack '$url'"

script=$(echo "$unpack"/*/install)

Expand Down

0 comments on commit 6a4b15c

Please sign in to comment.