This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/dist-gps.sh

42 lines
930 B
Bash
Raw Normal View History

#!/bin/sh
# Create a archive 'gps*.tar.bz2' with all source tree
2005-11-06 12:51:16 +00:00
date=`date +%Y%m%d`
shortdate=`echo ${date} | sed s/^...//`
shortname=../gps${shortdate}.zip
name=gps115-${date}.tar.bz2
cd .. ; tar -jcf ${name} \
--exclude CVS \
--exclude golded+/golded3/mygolded.h \
--exclude golded+/goldlib/gall/obj \
--exclude golded+/obj \
--exclude golded+/lib \
--exclude golded+/bin \
--exclude golded+/Release \
2005-10-09 08:49:12 +00:00
--exclude 'golded+/*.bat' \
--exclude 'golded+/*.BAT' \
--exclude 'golded+/*.cmd' \
--exclude 'golded+/*.CMD' \
2005-10-24 14:24:12 +00:00
--exclude '.#*' \
2005-10-09 06:31:59 +00:00
--exclude '*.orig' \
--exclude 'bld*.inc' \
--exclude '*.diff' \
--exclude '*.tar.gz' \
--exclude '*.tgz' \
--exclude '*.tar.bz' \
--exclude '*.tbz' \
--exclude '*.tar.bz2' \
--exclude '*.tb2' \
--exclude '*.cpz' \
--exclude '*.rar' \
--exclude '*.zip' \
--exclude '*.7z' \
--exclude '*.exe' \
--exclude '*.a' \
--exclude '*.o' \
golded+
2005-11-06 12:51:16 +00:00
cp ${name} ${shortname}