diff --git a/nixos-modules/make-system-tarball.sh b/nixos-modules/make-system-tarball.sh index 50372d5..3ce93f7 100644 --- a/nixos-modules/make-system-tarball.sh +++ b/nixos-modules/make-system-tarball.sh @@ -26,7 +26,7 @@ stripSlash() { for ((i = 0; i < ${#targets_[@]}; i++)); do stripSlash "${targets_[$i]}" mkdir -p "$(dirname "$res")" - cp -a "${sources_[$i]}" "$res" + cp -an "${sources_[$i]}" "$res" done