httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@raleigh.ibm.com>
Subject OS390 - xebcdic.sh for 2.0
Date Wed, 05 Apr 2000 22:06:11 GMT
Here is an updated version of xebcdic.sh for Apache 2.0.  I think it
should go into src/os/os390, which doesn't exist yet.

If I run the 1.3 version of xebcdic.sh, it first extracts the entire
tree from the tarball in ebcdic, then re-extracts it in ascii, making it
difficult to build or compile etc.  This happens because there are no
.gif's in htdocs in the current 2.0 tree:

--- apache-1.3/src/os/os390/xebcdic.sh	Thu Dec  9 12:12:15 1999
+++ xebcdic.sh	Wed Apr  5 14:00:22 2000
@@ -176,8 +176,7 @@
 
 # Re-extract gif files without ASCII to EBCDIC translation
 echo "Re-extracting gif files without ASCII to EBCDIC translation"
-pax -rvf $TARFILE $(find $APDIR/htdocs -type f -name "*.gif*")
-pax -rvf $TARFILE $(find $APDIR/icons -type f -name "*.gif*")
+pax -rvf $TARFILE $(find $APDIR -type f -name "*.gif*")
 
 # Re-extract appropriate files as requested by user
 for option in $@; do

The find for .gif's in htdocs returns null, so pax thinks it is supposed
to unpack the entire tarball in ascii, rather than selected .gifs as
intended.  With this change, as long as .gif's exist somewhere, pax will
do the right thing.

Greg Ames
Mime
View raw message