summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitee72a1f18a07b7d69e56155d50cbf5ce87a3f9fa (patch)
tree6d636ac5b8bade736fddcb75b0146addb595693c /llvm
parent48bec72db3d7413a3782d3aef2e23007ed9caa9b (diff)
downloadbcm5719-llvm-ee72a1f18a07b7d69e56155d50cbf5ce87a3f9fa.tar.gz
bcm5719-llvm-ee72a1f18a07b7d69e56155d50cbf5ce87a3f9fa.zip
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
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/utils/release/export.sh4
-rwxr-xr-xllvm/utils/release/tag.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/release/export.sh b/llvm/utils/release/export.sh
index 2fd4206b740..d978055f018 100755
--- a/llvm/utils/release/export.sh
+++ b/llvm/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/llvm/utils/release/tag.sh b/llvm/utils/release/tag.sh
index caefc7f7b71..c3e839d9323 100755
--- a/llvm/utils/release/tag.sh
+++ b/llvm/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
OpenPOWER on IntegriCloud