~ubuntu-branches/ubuntu/raring/dkms/raring

« back to all changes in this revision

Viewing changes to debian/patches/fix-bashism.patch

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano, Michael Gilbert, Giuseppe Iuculano
  • Date: 2010-06-04 13:53:23 UTC
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20100604135323-gq71k8zml0ateckx
Tags: 2.1.1.2-3
[ Michael Gilbert ]
* Update to source format 3 (quilt) for better patch management/handling.
* Improve the status info displayed during the kernel postinst, and
  provide informative/useful messages when things go awry.
* Fix bashism in dkms_common.postinst (closes: #581079).
* Document odd behavior of MAKE[#] (closes: #553625).
* Document package naming convention (closes: #571753).
* Use system TMPDIR setting in all scripts (closes: #581568).

[ Giuseppe Iuculano ]
* [208b229] Added a lintian override for python-script-but-no-python-
  dep, dkms.py is an apport hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix bashism 
 
2
--- dkms-2.1.1.2.orig/dkms_common.postinst
 
3
+++ dkms-2.1.1.2/dkms_common.postinst
 
4
@@ -99,7 +99,7 @@ get_newest_kernel() {
 
5
         CURRENT_ABI=${CURRENT_ABI%%-*}
 
6
         NEWEST_KERNEL=$(_get_newest_kernel_debian "$CURRENT_VERSION-$CURRENT_ABI")
 
7
 
 
8
-    elif [ `which rpm &>/dev/null` ]; then
 
9
+    elif [ `which rpm >/dev/null` ]; then
 
10
         # If RPM based
 
11
         NEWEST_KERNEL=$(_get_newest_kernel_rhel)
 
12
     fi