From 50ac5af18de36477bc0db81391adfd8a3a76853c Mon Sep 17 00:00:00 2001 From: Shinnok Date: Tue, 28 Nov 2017 18:34:21 +0200 Subject: Replace cp -rap with cp -a, satisfying all *nixes. On macOS, probably BSD too -rap will fail with both -r and -R implied. Change-Id: I6844d6f2ac52ca1c10564857f4e9190e1627ce52 Reviewed-on: https://gerrit.libreoffice.org/45430 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot --- help3xsl/get_media.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help3xsl/get_media.sh') diff --git a/help3xsl/get_media.sh b/help3xsl/get_media.sh index d0b7060d3e..12f636b2b8 100755 --- a/help3xsl/get_media.sh +++ b/help3xsl/get_media.sh @@ -36,7 +36,7 @@ cp jquery-3.1.1.min.js $outDir'/'$productVersion'/' cp normalize.css $outDir'/'$productVersion'/' cp default.css $outDir'/'$productVersion'/' -cp -rap ../source/media $outDir'/'$productVersion'/' +cp -a ../source/media $outDir'/'$productVersion'/' galaxy=$(realpath $workDir'/../icon-themes/galaxy') -cp -rap $galaxy $outDir'/'$productVersion'/media/icon-themes' +cp -a $galaxy $outDir'/'$productVersion'/media/icon-themes' -- cgit