SCM Repository
View of /sml/trunk/config/unpack.sh
Parent Directory
|
Revision Log
Revision 250 -
(download)
(as text)
(annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 10 months ago) by monnier
File size: 670 byte(s)
Sat Apr 17 18:57:03 1999 UTC (21 years, 10 months ago) by monnier
File size: 670 byte(s)
This commit was generated by cvs2svn to compensate for changes in r249, which included commits to RCS files with non-trunk default branches.
#!/bin/sh # # unpack object src-path obj-src tar-file # OBJECT=$1 SRCDIR=$2 SRCPATH=$SRCDIR/$3 TARFILE=$4 if [ ! -d $SRCPATH ]; then if [ -r $TARFILE.Z ]; then cd $SRCDIR echo "unpacking $OBJECT source files" zcat $TARFILE.Z | tar -xf - elif [ -r $TARFILE ]; then cd $SRCDIR echo "unpacking $OBJECT source files" tar -xf $TARFILE elif [ -r $TARFILE.gz ]; then cd $SRCDIR echo "unpacking $OBJECT source files" gunzip -c $TARFILE.gz | tar -xf - else echo "!!! the $OBJECT source files are missing" exit 1 fi if [ ! -d $SRCPATH ]; then echo "!!! unable to unpack $OBJECT source files" exit 1 fi fi exit 0
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |