[vlc-commits] macosx/package: Package even with missing locales folder

Marvin Scholz git at videolan.org
Thu Feb 8 15:58:31 CET 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | 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



More information about the vlc-commits mailing list