vlc | branch: master | Marvin Scholz <[email protected]> | Thu Feb  8 15:51:43 
2018 +0100| [8d64c53bd46096812f19146ba79701e5cbc3e7c2] | committer: Marvin 
Scholz

macosx/package: Package even with missing locales folder

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d64c53bd46096812f19146ba79701e5cbc3e7c2
---

 extras/package/macosx/package.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/package.mak 
b/extras/package/macosx/package.mak
index 0b21cd9a2c..b92d787d40 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -42,7 +42,7 @@ endif
        mkdir -p $@/Contents/MacOS/include/
        (cd "$(prefix)/include" && $(AMTAR) -c --exclude "plugins" vlc) | 
$(AMTAR) -x -C $@/Contents/MacOS/include/
        ## Copy translations
-       cp -r "$(prefix)/share/locale" $@/Contents/MacOS/share/
+       test -d "$(prefix)/share/locale" && cp -r "$(prefix)/share/locale" 
$@/Contents/MacOS/share/ || true
        printf "APPLVLC#" >| $@/Contents/PkgInfo
        ## Copy libs
        mkdir -p $@/Contents/MacOS/lib

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to