breser@tigris.org wrote:
> 
> Author: breser
> Date: Sat Apr  3 01:48:27 2004
> New Revision: 9278
> 
> Modified:
>    trunk/dist.sh
> Log:
> Time to change how we build tarballs again.  Next scheduled change in 2 weeks.
> 
> * dist.sh
>   Be pedantic and include the -x ustar option to pax since the Solaris man
>     page doesn't bother to say what the default format is.
>   Redirect any potential output of cd to /dev/null to avoid corrupting the
>     tarballs.
> 
> Modified: trunk/dist.sh
> ==============================================================================
> --- trunk/dist.sh       (original)
> +++ trunk/dist.sh       Sat Apr  3 01:48:27 2004
> @@ -171,9 +171,11 @@
>  # be able to extract the resulting tar file.  Use pax to produce POSIX.1
>  # tar files.
>  echo "Rolling $DISTNAME.tar.gz ..."
> -(cd "$DIST_SANDBOX" && pax -w "$DISTNAME") | gzip -9c > "$DISTNAME.tar.gz"
> +(cd "$DIST_SANDBOX" 2>&1 > /dev/null && pax -x ustar -w "$DISTNAME") | \
> +  gzip -9c > "$DISTNAME.tar.gz"
Don't you mean
cd "$DIST_SANDBOX" >/dev/null 2>&1
instead.  The order of redirection is important.  Try this in your
own shell script on a bad directory
sh-2.05b$ cd /lscklsdcjk 2>&1 >/dev/null
sh: cd: /lscklsdcjk: No such file or directory
sh-2.05b$ cd /lscklsdcjk >/dev/null 2>&1
sh-2.05b$
Best,
Blair
-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr  3 20:29:18 2004