Remove '.' entry

Having an explicit folder in the tar that is named "." causes it to do
bad things to the current directory and its permissions when it is
unpacked. It also introduces an extra level of effort not needed. So
let's not do that
This commit is contained in:
Greg Hellings
2024-11-15 14:53:04 -06:00
parent 2af2e12cdc
commit b72221905b
+1 -1
View File
@@ -69,7 +69,7 @@
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
pushd ${win.sword} pushd ${win.sword}
${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz . ${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz *
''; '';
}; };
}; };