Add scripts to compose gpc-*.zip and gps-*.tar.bz2
This commit is contained in:
parent
1bde504cf7
commit
298ced2375
10
dist-gpc.sh
Executable file
10
dist-gpc.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Create a archive 'gpc*.zip' with configuration files examples.
|
||||||
|
|
||||||
|
name=gpc115-`date +%Y%m%d`.zip
|
||||||
|
dir=cfgs
|
||||||
|
|
||||||
|
if [ -f ${name} ] ; then rm $name ; fi
|
||||||
|
|
||||||
|
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
|
28
dist-gps.sh
Executable file
28
dist-gps.sh
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Create a archive 'gps*.tar.bz2' with all source tree
|
||||||
|
|
||||||
|
name=gps115-`date +%Y%m%d`.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 \
|
||||||
|
--exclude golded+/*.bat \
|
||||||
|
--exclude golded+/*.cmd \
|
||||||
|
--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' \
|
||||||
|
golded+
|
Reference in New Issue
Block a user