diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-07-11 17:06:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-07-11 17:13:25 +0300 |
commit | 4f60d13820ad95d876f6daacefe4e72ffff57a5f (patch) | |
tree | 21dc585c9dd72b09f28a8386bc91eb120fdf2b9d /Makefile.am | |
parent | 26739b2812d68c7ba5824b944626e07172333654 (diff) | |
download | genrc-4f60d13820ad95d876f6daacefe4e72ffff57a5f.tar.gz genrc-4f60d13820ad95d876f6daacefe4e72ffff57a5f.tar.bz2 |
New options to select the shell binary and to run the command directly
* .gitmodules: New module: runcap
* Makefile.am: Build runcap
* configure.ac: Setup runcap
* src/Makefile.am: Add runcap dependencies.
* src/com_start.c (spawn): New function.
(com_start): Use spawn.
* src/sentinel.c (start_command): Use spawn.
* src/genrc.8: Document new options: --shell, --exec, --verbose.
* src/genrc.c (genrc_shell): New global.
(longopts): New options: --shell (-s), --exec (-e).
(main): Setup shortopts from longopts.
* src/genrc.h (genrc_shell): New global.
(spawn): New proto.
* src/runas.c: Set HOME and USER environment variables.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index dac3cb3..bb011c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ -SUBDIRS = grecs src +ACLOCAL_AMFLAGS = -I runcap +SUBDIRS = grecs runcap src dist: ChangeLog .PHONY: ChangeLog ChangeLog: |