Mageia Bugzilla – Attachment 3043 Details for
Bug 7579
package request linuxsampler (command-line audio sampler)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
script to make tarball
mk_tar (text/plain), 481 bytes, created by
Barry Jackson
on 2012-11-05 01:30:52 CET
(
hide
)
Description:
script to make tarball
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2012-11-05 01:30:52 CET
Size:
481 bytes
patch
obsolete
>#!/bin/bash ># mk_tar ># Run this script in SOURCES ># To make a tarball from current trunk: ># $ ./mk_tar >name=linuxsampler >if [[ -f $name ]]; then >cd $name >svn up >cd .. >else >svn co https://svn.$name.org/svn/$name/trunk $name >fi > >cd $name >rev=$(svnversion) >cd .. > >echo "Please wait creating tarball..." >[[ -f $name-$rev.tar.xz ]] && rm $name-$rev.tar.xz >tar -cJf $name-$rev.tar.xz $name/ --exclude-vcs >[[ $? = 0 ]] && chmod 644 $name-$rev.tar.xz && \ >echo "Written $name-$rev.tar.xz"
#!/bin/bash # mk_tar # Run this script in SOURCES # To make a tarball from current trunk: # $ ./mk_tar name=linuxsampler if [[ -f $name ]]; then cd $name svn up cd .. else svn co https://svn.$name.org/svn/$name/trunk $name fi cd $name rev=$(svnversion) cd .. echo "Please wait creating tarball..." [[ -f $name-$rev.tar.xz ]] && rm $name-$rev.tar.xz tar -cJf $name-$rev.tar.xz $name/ --exclude-vcs [[ $? = 0 ]] && chmod 644 $name-$rev.tar.xz && \ echo "Written $name-$rev.tar.xz"
View Attachment As Raw
Actions:
View
Attachments on
bug 7579
:
2858
|
2859
|
2883
|
2884
|
2897
|
3037
|
3041
|
3042
| 3043 |
3085