-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path0pack.sh
executable file
·29 lines (26 loc) · 887 Bytes
/
0pack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# perl-cross, being an overlaid changeset, is not particulary
# git- or github-friendly.
#
# To make it look nice on Github, it must carry README, Copying
# and have a plain directory layout. When deploying it onto a perl
# source tree, it's better not to have those files.
#
# Berlios versions were packed to match relevant perl directory
# name, and it worked well at the time.
# However now with the possibility of supporting several perl versions
# and cperl, it makes little sense to keep a single perl version
# in the package name. In most cases, the bundle will be unpacked
# with --strip-compontents=1 anyway.
V=1.6.1
tar -zcf perl-cross-$V.tar.gz\
--exclude README.md\
--exclude LICENSE\
--exclude Artistic\
--exclude Copying\
--exclude 0pack.sh\
--exclude perl-cross.tar\
--exclude perl-cross\*.tar.gz\
--exclude tags\
--xform "s!^!perl-cross-$V/!S"\
*