diff options
author | Shinnok <admin@shinnok.com> | 2017-11-28 18:34:21 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-11-29 11:50:37 +0100 |
commit | 50ac5af18de36477bc0db81391adfd8a3a76853c (patch) | |
tree | f282d7f029a30d50b74dfcd46e131cde8395a9d8 /help3xsl/xhp2html.sh | |
parent | db60e4b8ed439fcf103fa4937691498eee8f5e9c (diff) |
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 <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/xhp2html.sh')
-rwxr-xr-x | help3xsl/xhp2html.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/help3xsl/xhp2html.sh b/help3xsl/xhp2html.sh index de146e387c..4b37342543 100755 --- a/help3xsl/xhp2html.sh +++ b/help3xsl/xhp2html.sh @@ -181,9 +181,9 @@ cp jquery-3.1.1.min.js $here'/html/'$productversion'/' cp normalize.css $here'/html/'$productversion'/' cp default.css $here'/html/'$productversion'/' -cp -rap ../source/media $here'/html/'$productversion'/' +cp -a ../source/media $here'/html/'$productversion'/' mkdir -p $here'/html/'$productversion'/media/icon-themes' -cp -rap ../../icon-themes/galaxy/* $here'/html/'$productversion'/media/icon-themes/' +cp -a ../../icon-themes/galaxy/* $here'/html/'$productversion'/media/icon-themes/' ln -s $productversion html/latest # Set helpex utilty and environment @@ -243,7 +243,7 @@ mkdir -p $outDirHTML if [ "$lang" == en-US ]; then -cp -rap $helpfiles $outDirLang +cp -a $helpfiles $outDirLang else # Create first all translations of xhp |