[vlc-commits] commit: Add trival script to change the contribs root directory. ( Antoine Cellerier )

git at videolan.org git at videolan.org
Sat May 8 18:23:23 CEST 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat May  8 18:02:29 2010 +0200| [9fda5f376b9964257b3ff7bc7b277de686567b11] | committer: Antoine Cellerier 

Add trival script to change the contribs root directory.

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

 extras/package/win32/change-contribs-directory.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/extras/package/win32/change-contribs-directory.sh b/extras/package/win32/change-contribs-directory.sh
new file mode 100755
index 0000000..2834f59
--- /dev/null
+++ b/extras/package/win32/change-contribs-directory.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Run this script from the contribs directory if you did not extract them
+# to /usr/win32
+
+grep '/usr/win32' -rl .|xargs sed -i -s "s#/usr/win32#$(pwd)#g"
+



More information about the vlc-commits mailing list