Skip to content

Commit

Permalink
make tar call more portable for netbsd (dont use J)
Browse files Browse the repository at this point in the history
  • Loading branch information
donbright authored and tpoechtrager committed Mar 26, 2014
1 parent 95a5b77 commit 5f159c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ rm -rf cctools*
rm -rf xar*
rm -rf bc*

tar xJfv $TARBALL_DIR/cctools*.tar.xz
xz -cd $TARBALL_DIR/cctools*.tar.xz | tar xvf -

pushd cctools*/cctools &>/dev/null
patch -p0 < $PATCH_DIR/cctools-ld64-1.patch
Expand Down Expand Up @@ -267,10 +267,10 @@ case $SDK in
cat Payload | gunzip -dc | cpio -i 2>/dev/null
;;
*.tar.xz)
tar xJf $SDK
xz -cd $SDK | tar xvf -
;;
*.tar.gz)
tar xzf $SDK
gunzip -dc $SDK | tar xvf -
;;
esac

Expand Down

0 comments on commit 5f159c9

Please sign in to comment.