diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 0ee5d06ea2..37bd31371b 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -301,7 +301,7 @@ if test x$WITH_NLS != x ; then LINGUAS= for pkg in gtk2_ardour libs/ardour libs/gtkmm2ext libs/tk/ytk ; do - files=`find ../../$pkg -name "*.mo" \! -path "*/appdata/*"` + files=`find ../../$pkg -not -path "*/appdata/*" -name "*.mo"` # # the package name is appended with a number so that diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 11d18eb9d3..bfa37dff72 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -268,7 +268,7 @@ if test x$WITH_NLS != x ; then LINGUAS= for pkg in gtk2_ardour libs/ardour libs/gtkmm2ext lib/tk/ytk ; do - files=`find ../../$pkg -name \! -path "*/appdata/*" "*.mo"` + files=`find ../../$pkg -not -path "*/appdata/*" -name "*.mo"` # # the package name is appended with a number so that