]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Fix Copy_File function, "cp --preserve=timestamps" isn't portable
authorAlexander Barton <alex@barton.de>
Fri, 22 Nov 2013 15:37:45 +0000 (16:37 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 22 Nov 2013 15:37:45 +0000 (16:37 +0100)
install.sh

index b2ea6c41fb54f29230ba0fb0f6f445b257758a89..7a4d632c4e23f773ef60effd3a06fdac8b709b52 100755 (executable)
@@ -26,7 +26,7 @@ Copy_File() {
                fi
        fi
        Msg " "
-       cp --preserve=timestamps "$src" "$dst" || Abort
+       cp -p "$src" "$dst" || Abort
        if [ -n "$own" ]; then
                chown "$own" "$dst" || Abort
        fi