From ee72a1f18a07b7d69e56155d50cbf5ce87a3f9fa Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 16 Jan 2016 15:18:35 +0000 Subject: 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 --- llvm/utils/release/export.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/utils/release/export.sh') 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" -- cgit v1.2.3