AboutSummaryRefsLogTreeCommitDiffStats
path: root/src/crontab.in
diff options
context:
space:
mode:
authorDale Mellor <mcron-lsfnyl@rdmp.org>2020-09-10 05:48:26 +0100
committerDale Mellor <mcron-lsfnyl@rdmp.org>2022-07-07 22:19:06 +0100
commitcbce8eb293321aef12d153abce31cc3c6ab14f95 (patch)
treef8473f33dac6ba3ab3aed847b62f49219599fe10 /src/crontab.in
parentdc1aab3d2fdede1462f690cca61c1e72cd549a06 (diff)
downloadmcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.tar.gz
mcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.tar.bz2
mcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.zip
Incorporate and use command-line-processor proposed for Guile core
Since the elimination of the C wrapping around mcron and all the executable scripts, a weakness in Guile's (ice-9 getopt-long) module means that the command 'mcron -s crontab.scm' does not currently work. A replacement for the getopt-long module, as well as a higher-level 'command-line-processor' facility, have been pushed to the Guile upstream developers and are awaiting approval and incorporation. In the meantime, those modules are temporarily incorporated here into the mcron package, and the code is modified to use those local versions. * Makefile.am: install two new Guile modules * src/{cron,crontab,mcron}.in: use local command-line-processor module * src/mcron/command-line-processor.scm: new module * src/mcron/getopt-long.scm: new module * tests/schedule{,-2}.sh: clarify tests of -s, --schedule options
Diffstat (limited to 'src/crontab.in')
-rw-r--r--src/crontab.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crontab.in b/src/crontab.in
index f203a98..fb624a3 100644
--- a/src/crontab.in
+++ b/src/crontab.in
@@ -27,7 +27,7 @@
(set! %load-compiled-path (cons "%modbuilddir%" %load-compiled-path)))
(use-modules (mcron scripts crontab)
- (ice-9 command-line-processor))
+ (mcron command-line-processor))
(process-command-line (command-line)
application "crontab"