httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject [PATCH] binbuild.sh fix
Date Wed, 11 Oct 2000 12:57:27 GMT
The 'tar' command on Tru64 5.0 seems to be broken, and if you do:

  tar -cf ../foo.tar -C .. etc

it does the chdir("..") *before* opening ../foo.tar, creating
../../foo.tar instead.

This breaks binbuild.sh, since it can't find the .tar file it creates.

Index: binbuild.sh
===================================================================
RCS file: /home/cvspublic/apache-1.3/src/helpers/binbuild.sh,v
retrieving revision 1.16
diff -u -r1.16 binbuild.sh
--- binbuild.sh	2000/01/30 00:36:55	1.16
+++ binbuild.sh	2000/10/11 10:02:54
@@ -273,7 +273,7 @@
     then
       case "x$OS" in
         x*390*) $TAR -cfU ../apache_$VER-$OS.tar -C .. apache_$VER;;
-	    *) $TAR -cf ../apache_$VER-$OS.tar -C .. apache_$VER;;
+	    *) (cd .. && $TAR -cf apache_$VER-$OS.tar apache_$VER);;
       esac
       if [ "x$GZIP" != "x" ]
       then


-- 
Joe Orton, Red Hat Europe


Mime
View raw message