library-bundler: don't use -a, it may fail on network shares
authorThomas Debesse <dev@illwieckz.net>
Mon, 22 Feb 2021 18:22:18 +0000 (19:22 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 22 Feb 2021 18:53:10 +0000 (19:53 +0100)
also there is no need to preserve owner

library-bundler

index e155abc751aac0da3d7f33af6a097a4b5ae6fa36..a1ac9ebf6a645026c303f725ce03868e20f98b79 100755 (executable)
@@ -19,10 +19,10 @@ _sed () {
 _cp () {
        case "${system_name}" in
                'macos')
-                       gcp -a --preserve=timestamps -H -L "${@}"
+                       gcp -R --preserve=timestamps -H -L "${@}"
                        ;;
                *)
-                       cp -a --preserve=timestamps -H -L "${@}"
+                       cp -R --preserve=timestamps -H -L "${@}"
                        ;;
        esac
 }