From 025cc03d0eaf57d3670def1ec74e15dbbb77ee20 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Thu, 12 Sep 2013 14:15:38 +0400 Subject: [PATCH] =?UTF-8?q?il=20faut=20d=C3=A9finir=20les=20constantes=20a?= =?UTF-8?q?pr=C3=A8s=20avoir=20charg=C3=A9=20ulib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ucrontab | 6 +++--- utrigger | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ucrontab b/ucrontab index 63b3311..f7a2ea3 100755 --- a/ucrontab +++ b/ucrontab @@ -84,13 +84,13 @@ OPTIONS Afficher simplement les modifications qui doivent ĂȘtre effectuĂ©es." } -DEFAULT_ADELAY=1 -DEFAULT_GDELAY=15 - #source "$(dirname "$0")/ulib/ulib" && #urequire DEFAULTS crontab || #exit 1 +DEFAULT_ADELAY=1 +DEFAULT_GDELAY=15 + ##@inc[base ## Fonctions de base diff --git a/utrigger b/utrigger index 6c8c792..e5120f9 100755 --- a/utrigger +++ b/utrigger @@ -46,12 +46,12 @@ OPTIONS train de tourner, cette option n'a aucun effet." } -RUNDELAY=5 - source "$(dirname "$0")/ulib/ulib" && urequire base pretty || exit 1 +RUNDELAY=5 + function acquire_lock() { eval "exec $1>'$2'" flock $3 "$1"