Change to the right directory before tarring the C files.
authorTaylor R. Campbell <net/mumble/campbell>
Sun, 15 Apr 2007 16:42:09 +0000 (16:42 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Sun, 15 Apr 2007 16:42:09 +0000 (16:42 +0000)
v7/dist/make-c-files

index d66116f4ee6ed993a50393b39f05134cf5eb738d..26d9be6e508847df3952a8523aa757d4f58f9d3f 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $Id: make-c-files,v 1.3 2007/04/14 20:33:55 riastradh Exp $
+# $Id: make-c-files,v 1.4 2007/04/15 16:42:09 riastradh Exp $
 #
 # Copyright 2007 Massachusetts Institute of Technology
 #
@@ -78,6 +78,8 @@ if [ ! -f "${STAMP_C}" ]; then
     touch "${STAMP_C}"
 fi
 
+cd "${TL_DIR}"
+
 tarfile="${C_DIR}-c.tar.gz"
 zipfile="${C_DIR}-c.zip"