llvm.org GIT mirror llvm / 2f24868
Similar to rL257663, remove `function` keywords from export.sh and tag.sh, since they are marked to be run with /bin/sh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257994 91177308-0d34-0410-b5e6-96231b3b80d8 Dimitry Andric 4 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1919 release=""
2020 rc=""
2121
22 function usage() {
22 usage() {
2323 echo "Export the SVN sources and build tarballs from them"
2424 echo "usage: `basename $0`"
2525 echo " "
2828 echo " -final The final tag"
2929 }
3030
31 function export_sources() {
31 export_sources() {
3232 release_no_dot=`echo $release | sed -e 's,\.,,g'`
3333 tag_dir="tags/RELEASE_$release_no_dot/$rc"
3434
2222
2323 base_url="https://llvm.org/svn/llvm-project"
2424
25 function usage() {
25 usage() {
2626 echo "usage: `basename $0` -release [-rebranch] [-revision ] [-dry-run]"
2727 echo "usage: `basename $0` -release -rc [-dry-run]"
2828 echo " "
3434 echo " -dry-run Make no changes to the repository, just print the commands"
3535 }
3636
37 function tag_version() {
37 tag_version() {
3838 set -x
3939 for proj in $projects; do
4040 if svn ls $base_url/$proj/branches/release_$branch_release > /dev/null 2>&1 ; then
5252 set +x
5353 }
5454
55 function tag_release_candidate() {
55 tag_release_candidate() {
5656 set -x
5757 for proj in $projects ; do
5858 if ! svn ls $base_url/$proj/tags/RELEASE_$tag_release > /dev/null 2>&1 ; then