nixpkgs/pkgs/stdenv/linux/scripts/unpack.sh

9 lines
99 B
Bash
Raw Normal View History

set -e
$cp $tar .tar.bz2
$bzip2 -d .tar.bz2
$bzip2 -d < $tarball | ./.tar xvf -
$cp -prd * $out