Stupid bug fix. Code wouldn't even compile. Tut.
authormdw <mdw>
Thu, 24 Jun 1999 15:57:07 +0000 (15:57 +0000)
committermdw <mdw>
Thu, 24 Jun 1999 15:57:07 +0000 (15:57 +0000)
src/sw_info.c

index 82204d3..4798d95 100644 (file)
@@ -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 --- */