Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10880960
package.sh
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1005 B
Subscribers
None
package.sh
View Options
#!/bin/bash
# This script, meant for "internal use", packages all the
# latest version of the contributions into a tar.gz file,
# either reading the list from contribs.svn, or
# exploiting the list returned by running "./configure --list"
# in the top directory (see commented line)
#
# Usage: run ./scripts/internal/package.sh from the top directory
#
version
=
`
cat VERSION
`
packagename
=
fjcontrib-
$version
files
=
"AUTHORS COPYING Makefile.in README VERSION NEWS configure data ChangeLog utils/check.sh utils/install-sh"
# get contribs list from contribs.svn
files
=
"
$files
"
$(
cat contribs.svn
|
grep -v
"^#"
|
grep -v
"^
$
"
|
awk
'{printf $1" "}'
)
# get contribs list from configure (may include "unofficial" local contribs)
#files="$files "`./configure --list`
echo
echo
Making a distclean, so as to only package relevant files
echo
make distclean
echo
echo
Creating version
$version
echo
Including:
$files
tar --exclude
=
".svn"
--transform
"s,^,
$packagename
/,"
-zcf
$packagename
.tar.gz
$files
exit
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 3, 5:38 AM (4 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4905939
Default Alt Text
package.sh (1005 B)
Attached To
rFASTJETSVN fastjetsvn
Event Timeline
Log In to Comment