Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b71ade7e65848e8bec3dc4502ddedf772748ea4d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b71ade7e65848e8bec3dc4502ddedf772748ea4d)
  • Date: Sun, 3 Jun 2007 05:15:56 -0500

GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

smgl/init.d/HISTORY | 3 +++
smgl/init.d/files/smgl_functions | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit b71ade7e65848e8bec3dc4502ddedf772748ea4d
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

init.d: remove last bad grep #10439

diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index efcd3ae..bf58df6 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,6 @@
+2007-06-02 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * files/smgl_functions: remove grep usage #10439
+
2007-05-23 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* BUILD, FINAL: added temporary file workaround for #13363

diff --git a/smgl/init.d/files/smgl_functions
b/smgl/init.d/files/smgl_functions
index 2d42083..01352fb 100644
--- a/smgl/init.d/files/smgl_functions
+++ b/smgl/init.d/files/smgl_functions
@@ -138,7 +138,7 @@ export -f print_status
getpids()
{
local base=${1##*/}
- pidlist=$(builtin echo $(for i in $(pidof -o $$ -o $PPID -o '%PPID' -x
$base); do grep -vq '/etc/init[.]d' /proc/$i/cmdline && builtin echo $i;
done))
+ pidlist=$(builtin echo $(for i in $(pidof -o $$ -o $PPID -o '%PPID' -x
$base); do awk -v i=$i '!/\/etc\/init[.]d/ {print i}' < /proc/$i/cmdline;
done))
}

loadproc()



  • [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b71ade7e65848e8bec3dc4502ddedf772748ea4d), Jaka Kranjc, 06/03/2007

Archive powered by MHonArc 2.6.24.

Top of Page