From: mdw Date: Thu, 24 Jun 1999 15:57:07 +0000 (+0000) Subject: Stupid bug fix. Code wouldn't even compile. Tut. X-Git-Tag: 1.0.2~34 X-Git-Url: https://git.distorted.org.uk/~mdw/sw-tools/commitdiff_plain/4cfc09d888adb1fb187760c4e0b26f619220e4ee Stupid bug fix. Code wouldn't even compile. Tut. --- diff --git a/src/sw_info.c b/src/sw_info.c index 82204d3..4798d95 100644 --- a/src/sw_info.c +++ b/src/sw_info.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sw_info.c,v 1.3 1999/06/24 15:51:59 mdw Exp $ + * $Id: sw_info.c,v 1.4 1999/06/24 15:57:07 mdw Exp $ * * Maintenance of `.sw-info' files * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: sw_info.c,v $ + * Revision 1.4 1999/06/24 15:57:07 mdw + * Stupid bug fix. Code wouldn't even compile. Tut. + * * Revision 1.3 1999/06/24 15:51:59 mdw * Add support for the `sw-precommit' script. * @@ -475,7 +478,7 @@ int sw_commit(int argc, char *argv[]) env_put(&t, "SW_MAINTAINER", sw.maintainer); env_put(&t, "SW_DATE", sw.date); env_put(&t, "SW_ARCHLIST", sw.arch); - env_put(&t, "SW_PREFIX", sw.prefix); + env_put(&t, "SW_PREFIX", PREFIX); environ = env_export(&t); /* --- Run the commit check script --- */