File:  [GPL Stacker compression] / dmsdos / mkdist.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:38:02 2018 UTC (22 months ago) by root
Branches: MAIN, DMSDOS
CVS tags: dmsdos092322, dmsdos092232, dmsdos0922, HEAD
DMSDOS 0.9.2.2

#!/bin/sh

DIRNAME=`pwd`
DIRNAME=`basename $DIRNAME`

ARCHIVENAME=$DIRNAME.tgz

cd ..

echo "I'm going to create or overwrite file $ARCHIVENAME in directory"
pwd
echo "Press Enter to continue or CTRL-C to abort."
read junk

rm -f $ARCHIVENAME
tar cvzf $ARCHIVENAME $DIRNAME

unix.superglobalmegacorp.com