Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit f89bb2e

Browse files
authored
fix: tar -C flag
1 parent 1b5b5c3 commit f89bb2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-kmod-zfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rpm-ostree install libtirpc-devel libblkid-devel libuuid-devel libudev-devel ope
2525
### BUILD zfs
2626
echo "getting zfs-${ZFS_VERSION}.tar.gz"
2727
curl -L -O https://github.com/openzfs/zfs/releases/download/zfs-${ZFS_VERSION}/zfs-${ZFS_VERSION}.tar.gz
28-
tar xzf zfs-${ZFS_VERSION}.tar.gz
28+
tar -xzf zfs-${ZFS_VERSION}.tar.gz -C /tmp
2929

3030
# patch the zfs-kmod.spec.in file for older zfs versions
3131
ZFS_MAJ=$(echo $ZFS_VERSION | cut -f1 -d.)

0 commit comments

Comments
 (0)