packages: pm-utils/bashism.patch - use already pulled /bin/bash for shell d...
pluto
pluto at pld-linux.org
Mon Jan 16 20:03:20 CET 2012
Author: pluto Date: Mon Jan 16 19:03:20 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- use already pulled /bin/bash for shell descriptors redirection.
/bin/mksh can't handle it by default.
---- Files affected:
packages/pm-utils:
bashism.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/pm-utils/bashism.patch
diff -u packages/pm-utils/bashism.patch:1.1 packages/pm-utils/bashism.patch:1.2
--- packages/pm-utils/bashism.patch:1.1 Sun Feb 20 16:19:29 2011
+++ packages/pm-utils/bashism.patch Mon Jan 16 20:03:15 2012
@@ -10,3 +10,40 @@
. "${PM_FUNCTIONS}"
+
+
+try_lock() needs shell-descriptor-redirection feature.
+/bin/mksh can't handle it, so use already pulled /bin/bash.
+
+--- pm-utils-1.4.1.orig/pm/functions.in 2010-07-04 16:50:13.000000000 +0200
++++ pm-utils-1.4.1/pm/functions.in 2012-01-16 19:44:51.862113904 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # vim:noexpandtab
+
+ # Common functionality for the hooks.
+--- pm-utils-1.4.1.orig/pm/pm-functions.in 2010-07-04 16:50:13.000000000 +0200
++++ pm-utils-1.4.1/pm/pm-functions.in 2012-01-16 19:45:04.506023549 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # vim:noexpandtab
+
+
+--- pm-utils-1.4.1.orig/src/pm-action.in 2010-07-04 16:42:51.000000000 +0200
++++ pm-utils-1.4.1/src/pm-action.in 2012-01-16 19:41:15.455583368 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # vim: noexpandtab
+ # Simple suspend script
+ #
+--- pm-utils-1.4.1.orig/src/pm-powersave.in 2010-07-04 16:50:13.000000000 +0200
++++ pm-utils-1.4.1/src/pm-powersave.in 2012-01-16 19:42:27.115516315 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # vim:noexpandtab
+ # Simple powersave script
+ #
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pm-utils/bashism.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list