Author: aurel32
Date: 2011-09-08 08:23:50 +0000 (Thu, 08 Sep 2011)
New Revision: 4955

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.preinst
Log:
  * debian/debhelper.in/libc.preinst: call /bin/mv with --version so 
    that it doesn't return an error.  Closes: #640872.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2011-09-07 23:55:13 UTC (rev 
4954)
+++ glibc-package/trunk/debian/changelog        2011-09-08 08:23:50 UTC (rev 
4955)
@@ -1,3 +1,10 @@
+eglibc (2.13-20) unstable; urgency=low
+
+  * debian/debhelper.in/libc.preinst: call /bin/mv with --version so 
+    that it doesn't return an error.  Closes: #640872.
+
+ -- Aurelien Jarno <[email protected]>  Thu, 08 Sep 2011 10:23:00 +0200
+
 eglibc (2.13-19) unstable; urgency=low
 
   [ Aurelien Jarno ]

Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.preinst        2011-09-07 
23:55:13 UTC (rev 4954)
+++ glibc-package/trunk/debian/debhelper.in/libc.preinst        2011-09-08 
08:23:50 UTC (rev 4955)
@@ -126,7 +126,7 @@
     # Test if libc is of the same architecture as /bin/mv
     # If not, they almost surely have a multiarch system and we can use
     # the native ELF interpreter
-    if ! $ldfile /bin/mv 2>/dev/null; then
+    if ! $ldfile /bin/mv --version >/dev/null 2>&1; then
         interpreter=
     else
         interpreter=$ldfile


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to