]> git.pld-linux.org Git - packages/binfmt-detector.git/commitdiff
- don't trash bindir, move -cli to libdir auto/th/binfmt-detector-0_2-3
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 22 Nov 2009 09:48:53 +0000 (09:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libdir.patch -> 1.1

libdir.patch [new file with mode: 0644]

diff --git a/libdir.patch b/libdir.patch
new file mode 100644 (file)
index 0000000..33f051e
--- /dev/null
@@ -0,0 +1,22 @@
+--- binfmt-detector/binfmt-detector.sh~        2007-05-06 13:41:34.000000000 +0300
++++ binfmt-detector/binfmt-detector.sh 2009-11-22 11:28:37.838632670 +0200
+@@ -1,15 +1,13 @@
+ #!/bin/sh
+-if [ ! -f "$1" ]
+-then
+-      echo "$1: no such file" >&2
++if [ ! -f "$1" ]; then
++      echo >&2 "$1: No such file"
+       exit 1
+ fi
+-/usr/bin/binfmt-detector-cli "$1"
++/usr/lib/binfmt-detector "$1"
+-if [ $? -eq 0 ]
+-then
++if [ $? -eq 0 ]; then
+       exec /usr/bin/mono "$@"
+ else
+       exec /usr/bin/wine "$@"
This page took 0.093198 seconds and 4 git commands to generate.