fix osx build script when the path to the plugin folder contains spaces

git-svn-id: svn://localhost/ardour2/branches/3.0@12492 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-30 15:34:25 +00:00
parent 5d10ef90b8
commit b4b7439489

View File

@ -280,7 +280,7 @@ if test x$WITH_LADSPA != x ; then
else
plugdir=ladspa
fi
if [ -d $plugdir -a x`ls $plugdir` != x ] ; then
if [ -d $plugdir -a "x$(ls $plugdir)" != x ] ; then
echo "Copying `ls $plugdir | wc -l` plugins ..."
cp -r $plugdir/* $Plugins
fi