OSX compat: cp -a isn't supported on older versions

This commit is contained in:
Robin Gareus 2021-03-12 03:28:50 +01:00
parent d3c4ac153c
commit 5a20cf56b9
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -326,10 +326,10 @@ for f in $BUILD_ROOT/../share/export/*.preset $BUILD_ROOT/../share/export/*.form
done done
#Session templates #Session templates
cp -a $BUILD_ROOT/../share/templates $Templates cp -R $BUILD_ROOT/../share/templates $Templates
# PluginMetadata # PluginMetadata
cp -a $BUILD_ROOT/../share/plugin_metadata $PluginMetadata cp -R $BUILD_ROOT/../share/plugin_metadata $PluginMetadata
# MidiMaps # MidiMaps
# got to be careful with names here # got to be careful with names here
@ -354,7 +354,7 @@ for x in $BUILD_ROOT/../share/scripts/*.lua ; do
done done
# recusively copy web-surface html/js # recusively copy web-surface html/js
cp -a $BUILD_ROOT/../share/web_surfaces $WebSurfaces cp -R $BUILD_ROOT/../share/web_surfaces $WebSurfaces
rm $WebSurfaces/wscript rm $WebSurfaces/wscript
# MackieControl data # MackieControl data
@ -420,7 +420,7 @@ for file in $BUILD_ROOT/session_utils/${lower_case_appname}${major_version}-*; d
if test x$STRIP = xall ; then if test x$STRIP = xall ; then
strip -s $Frameworks/${BN} strip -s $Frameworks/${BN}
fi fi
cp -a $Frameworks/ardour-util.sh ${APPROOT}/MacOS/${BN} cp -R $Frameworks/ardour-util.sh ${APPROOT}/MacOS/${BN}
HAVE_SESSION_UTILS=true HAVE_SESSION_UTILS=true
done done
@ -430,7 +430,7 @@ if test -x $BUILD_ROOT/luasession/luasession; then
if test x$STRIP = xall ; then if test x$STRIP = xall ; then
strip -s $Frameworks/${BN} strip -s $Frameworks/${BN}
fi fi
cp -a $Frameworks/ardour-util.sh ${APPROOT}/MacOS/${BN} cp -R $Frameworks/ardour-util.sh ${APPROOT}/MacOS/${BN}
HAVE_SESSION_UTILS=true HAVE_SESSION_UTILS=true
fi fi