diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-06-21 10:48:13 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-06-21 10:48:13 +0000 |
commit | c70269f0cea581761d28431ed0cd90c3a6a58b29 (patch) | |
tree | 951e72a67a9ef41871e619e5253071e8d05809cd | |
parent | a6fe78715f015a8ea8a3231ebccc4e82bd1287c6 (diff) |
use the full path to zip
-rw-r--r-- | usr.sbin/ikectl/ikeca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ikectl/ikeca.c b/usr.sbin/ikectl/ikeca.c index 5f2b4d97250..dacb12f40a1 100644 --- a/usr.sbin/ikectl/ikeca.c +++ b/usr.sbin/ikectl/ikeca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikeca.c,v 1.5 2010/06/14 17:41:18 jsg Exp $ */ +/* $OpenBSD: ikeca.c,v 1.6 2010/06/21 10:48:12 jsg Exp $ */ /* $vantronix: ikeca.c,v 1.13 2010/06/03 15:52:52 reyk Exp $ */ /* @@ -555,7 +555,7 @@ ca_export(struct ca *ca, char *keyname) err(1, "could not change %s", dst); snprintf(dst, sizeof(dst), "%s/%s.zip", src, oname); - snprintf(cmd, sizeof(cmd), "zip -qr %s .", dst); + snprintf(cmd, sizeof(cmd), "%s -qr %s .", PATH_ZIP, dst); system(cmd); printf("exported files in %s\n", dst); |