mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 09:16:04 +00:00
Similar to rL257663, remove function
keywords from export.sh and
tag.sh, since they are marked to be run with /bin/sh. llvm-svn: 257994
This commit is contained in:
parent
48bec72db3
commit
ee72a1f18a
@ -20,7 +20,7 @@ base_url="https://llvm.org/svn/llvm-project"
|
||||
release=""
|
||||
rc=""
|
||||
|
||||
function usage() {
|
||||
usage() {
|
||||
echo "Export the SVN sources and build tarballs from them"
|
||||
echo "usage: `basename $0`"
|
||||
echo " "
|
||||
@ -29,7 +29,7 @@ function usage() {
|
||||
echo " -final The final tag"
|
||||
}
|
||||
|
||||
function export_sources() {
|
||||
export_sources() {
|
||||
release_no_dot=`echo $release | sed -e 's,\.,,g'`
|
||||
tag_dir="tags/RELEASE_$release_no_dot/$rc"
|
||||
|
||||
|
@ -23,7 +23,7 @@ revision="HEAD"
|
||||
|
||||
base_url="https://llvm.org/svn/llvm-project"
|
||||
|
||||
function usage() {
|
||||
usage() {
|
||||
echo "usage: `basename $0` -release <num> [-rebranch] [-revision <num>] [-dry-run]"
|
||||
echo "usage: `basename $0` -release <num> -rc <num> [-dry-run]"
|
||||
echo " "
|
||||
@ -35,7 +35,7 @@ function usage() {
|
||||
echo " -dry-run Make no changes to the repository, just print the commands"
|
||||
}
|
||||
|
||||
function tag_version() {
|
||||
tag_version() {
|
||||
set -x
|
||||
for proj in $projects; do
|
||||
if svn ls $base_url/$proj/branches/release_$branch_release > /dev/null 2>&1 ; then
|
||||
@ -53,7 +53,7 @@ function tag_version() {
|
||||
set +x
|
||||
}
|
||||
|
||||
function tag_release_candidate() {
|
||||
tag_release_candidate() {
|
||||
set -x
|
||||
for proj in $projects ; do
|
||||
if ! svn ls $base_url/$proj/tags/RELEASE_$tag_release > /dev/null 2>&1 ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user