summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-14 22:24:38 +0100
committerwm4 <wm4@nowhere>2015-01-14 22:24:38 +0100
commit05fc6c1859f6e73995bd343585699d8cf8c1f0a9 (patch)
tree7fd0a8630fcee1eb79c61292e050deabd1084dde
parent99de00a0ded4f751f79e6c138d85df6244c71ee6 (diff)
downloadmpv-build-05fc6c1859f6e73995bd343585699d8cf8c1f0a9.tar.bz2
mpv-build-05fc6c1859f6e73995bd343585699d8cf8c1f0a9.tar.xz
Forcefully disable locale nonsense
Likes to break scripts. In this case, a russian user had a weird problem with building mpv: the ffmpeg include files were not found. Maybe the locale broke installing ffmpeg. Adding this to every top-level script (annoyingly), but I won't add them to the files in the scripts/ directory. The user normally doesn't need to call them directly, so don't bother.
-rwxr-xr-xbuild1
-rwxr-xr-xclean1
-rwxr-xr-xrebuild1
-rwxr-xr-xuninstall1
-rwxr-xr-xupdate1
-rwxr-xr-xuse-ffmpeg-master1
-rwxr-xr-xuse-ffmpeg-release1
-rwxr-xr-xuse-mpv-master1
-rwxr-xr-xuse-mpv-release1
9 files changed, 9 insertions, 0 deletions
diff --git a/build b/build
index 18f40dd..ff2079b 100755
--- a/build
+++ b/build
@@ -1,5 +1,6 @@
#!/bin/sh
set -e
+export LC_ALL=C
#scripts/fribidi-config
#scripts/fribidi-build $@
diff --git a/clean b/clean
index a05c19f..6cd8f61 100755
--- a/clean
+++ b/clean
@@ -1,4 +1,5 @@
#!/bin/sh
+export LC_ALL=C
scripts/ffmpeg-clean
scripts/fribidi-clean
diff --git a/rebuild b/rebuild
index bd53ad7..a23b963 100755
--- a/rebuild
+++ b/rebuild
@@ -1,5 +1,6 @@
#!/bin/sh
set -e
+export LC_ALL=C
./update
./clean
diff --git a/uninstall b/uninstall
index 1a21556..b47838c 100755
--- a/uninstall
+++ b/uninstall
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+export LC_ALL=C
scripts/mpv-uninstall
diff --git a/update b/update
index e5e3395..a7e34d5 100755
--- a/update
+++ b/update
@@ -1,4 +1,5 @@
#!/bin/sh
+export LC_ALL=C
do_clone()
{
diff --git a/use-ffmpeg-master b/use-ffmpeg-master
index af87e19..0c2a38f 100755
--- a/use-ffmpeg-master
+++ b/use-ffmpeg-master
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+export LC_ALL=C
scripts/switch-branch ffmpeg master
diff --git a/use-ffmpeg-release b/use-ffmpeg-release
index 7c2cbb8..4af8e6f 100755
--- a/use-ffmpeg-release
+++ b/use-ffmpeg-release
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+export LC_ALL=C
scripts/switch-branch ffmpeg release
diff --git a/use-mpv-master b/use-mpv-master
index bcb35be..db4e025 100755
--- a/use-mpv-master
+++ b/use-mpv-master
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+export LC_ALL=C
scripts/switch-branch mpv master
diff --git a/use-mpv-release b/use-mpv-release
index 21f48cd..c9fd7a8 100755
--- a/use-mpv-release
+++ b/use-mpv-release
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+export LC_ALL=C
scripts/switch-branch mpv release