summaryrefslogtreecommitdiff
path: root/utils/release
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2016-01-16 15:18:35 +0000
committerDimitry Andric <dimitry@andric.com>2016-01-16 15:18:35 +0000
commit2f248688c9851a863b53ed90ea0161c4c53f55d2 (patch)
tree5ce72d1b9918621adfad75e20c1677aa50ff790f /utils/release
parent244c013a96469d743fb2d437e01dd1b741f4d99d (diff)
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
Diffstat (limited to 'utils/release')
-rwxr-xr-xutils/release/export.sh4
-rwxr-xr-xutils/release/tag.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/utils/release/export.sh b/utils/release/export.sh
index 2fd4206b740..d978055f018 100755
--- a/utils/release/export.sh
+++ b/utils/release/export.sh
@@ -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"
diff --git a/utils/release/tag.sh b/utils/release/tag.sh
index caefc7f7b71..c3e839d9323 100755
--- a/utils/release/tag.sh
+++ b/utils/release/tag.sh
@@ -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