diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-07-26 23:12:36 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-07-26 23:12:36 +0000 |
commit | 8e1d3e04a66de05368828d169d67ded5cb0b5f7a (patch) | |
tree | 8519853bfb88c231a0e8cd43412e36a4d0089f6a /sys-apps | |
parent | stable on x86 (diff) | |
download | historical-8e1d3e04a66de05368828d169d67ded5cb0b5f7a.tar.gz historical-8e1d3e04a66de05368828d169d67ded5cb0b5f7a.tar.bz2 historical-8e1d3e04a66de05368828d169d67ded5cb0b5f7a.zip |
Polish that locking 'til it gleams
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/cronbase/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/cronbase/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/cronbase/files/run-crons-0.3.1 | 4 |
3 files changed, 13 insertions, 10 deletions
diff --git a/sys-apps/cronbase/ChangeLog b/sys-apps/cronbase/ChangeLog index 866974ac774a..8ec91d0a124e 100644 --- a/sys-apps/cronbase/ChangeLog +++ b/sys-apps/cronbase/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/cronbase # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/ChangeLog,v 1.31 2004/07/25 15:59:07 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/ChangeLog,v 1.32 2004/07/26 23:12:36 agriffis Exp $ + + 26 Jul 2004; Aron Griffis <agriffis@gentoo.org> files/run-crons-0.3.1: + Polish that locking 'til it gleams *cronbase-0.3.1 (25 Jul 2004) diff --git a/sys-apps/cronbase/Manifest b/sys-apps/cronbase/Manifest index db71ef00c755..0a7ca77444f4 100644 --- a/sys-apps/cronbase/Manifest +++ b/sys-apps/cronbase/Manifest @@ -1,12 +1,12 @@ -MD5 52e03e8cbe6db962563235cdda87413c cronbase-0.3.1.ebuild 806 -MD5 e65d81e57db2b515afec8ba4d23a5e0c cronbase-0.3.ebuild 793 MD5 2140f653d8a39eaac8c70f4ac662ff68 cronbase-0.2.1-r3.ebuild 799 -MD5 441213e0b33672e93b00a9ed425ac211 ChangeLog 3276 +MD5 e65d81e57db2b515afec8ba4d23a5e0c cronbase-0.3.ebuild 793 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 3535c6f09818ef0ae04aaf7ddf19f39e files/run-crons-0.3 2642 -MD5 e5e6072141927cbd370b6daa5d53fbb7 files/run-crons-0.2.1 1963 -MD5 d51db0f48f428cc0d443b30563f3a3c8 files/run-crons-0.3.1 2788 +MD5 99e1d45c2e630ef64886c6e571e4d28b ChangeLog 3387 +MD5 52e03e8cbe6db962563235cdda87413c cronbase-0.3.1.ebuild 806 MD5 aec64f4f974f1916af15c1e7e3dbda2c files/README 2862 -MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-cronbase-0.3 0 +MD5 0dfa648811055056b72446ce55e64b38 files/run-crons-0.3.1 2800 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-cronbase-0.2.1-r3 0 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-cronbase-0.3 0 +MD5 e5e6072141927cbd370b6daa5d53fbb7 files/run-crons-0.2.1 1963 +MD5 3535c6f09818ef0ae04aaf7ddf19f39e files/run-crons-0.3 2642 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-cronbase-0.3.1 0 diff --git a/sys-apps/cronbase/files/run-crons-0.3.1 b/sys-apps/cronbase/files/run-crons-0.3.1 index 077d37040c78..dfedbabcc496 100644 --- a/sys-apps/cronbase/files/run-crons-0.3.1 +++ b/sys-apps/cronbase/files/run-crons-0.3.1 @@ -1,6 +1,6 @@ #!/bin/bash # -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/files/run-crons-0.3.1,v 1.1 2004/07/25 15:59:07 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/files/run-crons-0.3.1,v 1.2 2004/07/26 23:12:36 agriffis Exp $ # # # 06 May 2004; Aron Griffis <agriffis@gentoo.org> run-crons: @@ -40,7 +40,7 @@ for ((i = 0; i < 2; i = i + 1)); do # better than kill -0 because we can verify that it's really # another run-crons process - if ls -l /proc/${cronpid}/fd 2>/dev/null | grep -q "${0##*/}"; then + if [[ $(</proc/${cronpid}/cmdline) == $(</proc/$$/cmdline) ]] 2>/dev/null; then # whoa, another process is really running exit 0 else |