Lines Matching refs:archive
5 echo "Usage: $0 <archive> <scripts> ..."
8 # get the archive name
9 archive=$1
24 outputDir=$tmpDir/archive
56 echo "Preparing contents of archive $archive ..."
62 # get an absolute path for the archive
64 cd $(dirname $archive)
65 archive=$(pwd)/$(basename $archive)
68 # build the archive
69 echo "Building archive $archive ..."
70 $rm -f $archive
72 case "$archive" in
74 $zip -ryq $archive .
78 tar --format ustar -czf $archive $contents
81 echo "Unhandled archive format in build_archive"