mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
g13: Switch over to common/exectool.c.
* g13/sh-exectool.c: Remove. It has been replaced by common/exectool.c.
* g13/Makefile.am (g13_syshelp_SOURCES): Remove sh-exectool.c
* g13/sh-blockdev.c: Include exectool.h. Change sh_exec_tool to
gnupg_exec-tool.
* g13/sh-dmcrypt.c: Ditto.
--
With commit 2ae07f826a
the exectool code
was moved from a g13 feature branch to common/ so that it could be
used by gpgtar. With this patch we finally remove the original code
and use the one in common/.
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d19d6e1856
commit
c5d7045daf
5 changed files with 6 additions and 313 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <assuan.h>
|
||||
#include "i18n.h"
|
||||
#include "utils.h"
|
||||
#include "exectool.h"
|
||||
#include "keyblob.h"
|
||||
|
||||
/* The standard disk block size (logical). */
|
||||
|
@ -104,7 +105,7 @@ check_blockdev (const char *devname)
|
|||
|
||||
argv[0] = "deps";
|
||||
argv[1] = NULL;
|
||||
err = sh_exec_tool ("/sbin/dmsetup", argv, NULL, &result, NULL);
|
||||
err = gnupg_exec_tool ("/sbin/dmsetup", argv, NULL, &result, NULL);
|
||||
}
|
||||
if (err)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue