diff options
author | jkh <jkh@FreeBSD.org> | 1993-10-08 01:19:35 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-10-08 01:19:35 +0000 |
commit | 5103a9329c4b4b376ebc5fedbf92d7c482ebec8c (patch) | |
tree | 904c8572a82dedadd2f94d82491509908df87f76 /usr.sbin/pkg_install/delete/perform.c | |
parent | 87527a6701f2534dc6d0dd5f5ce54524e1c1e3bb (diff) | |
download | FreeBSD-src-5103a9329c4b4b376ebc5fedbf92d7c482ebec8c.zip FreeBSD-src-5103a9329c4b4b376ebc5fedbf92d7c482ebec8c.tar.gz |
Fix problems with executing from current directory
Diffstat (limited to 'usr.sbin/pkg_install/delete/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index b806e47..76e92ee 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: perform.c,v 1.2 1993/09/04 05:06:39 jkh Exp $"; +static const char *rcsid = "$Id: perform.c,v 1.2 1993/09/03 23:01:02 jkh Exp $"; #endif /* @@ -69,7 +69,7 @@ pkg_do(char *pkg) if (Verbose) printf("Executing 'require' script.\n"); vsystem("chmod +x %s", REQUIRE_FNAME); /* be sure */ - if (vsystem("%s %s DEINSTALL", REQUIRE_FNAME, pkg)) { + if (vsystem("./%s %s DEINSTALL", REQUIRE_FNAME, pkg)) { whinge("Package %s fails requirements - not deleted.", pkg); return 1; } @@ -89,7 +89,7 @@ pkg_do(char *pkg) printf("Would execute de-install script at this point.\n"); else { vsystem("chmod +x %s", DEINSTALL_FNAME); /* make sure */ - if (vsystem("%s %s DEINSTALL", DEINSTALL_FNAME, pkg)) { + if (vsystem("./%s %s DEINSTALL", DEINSTALL_FNAME, pkg)) { whinge("De-Install script returned error status."); return 1; } |