[llvm] r257663 - Remove bashism from merge.sh: POSIX sh does not have the `function`
Dimitry Andric via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 11:48:51 PST 2016
Author: dim
Date: Wed Jan 13 13:48:50 2016
New Revision: 257663
URL: http://llvm.org/viewvc/llvm-project?rev=257663&view=rev
Log:
Remove bashism from merge.sh: POSIX sh does not have the `function`
reserved word, and it is even superfluous in bash, for this particular
instance.
Modified:
llvm/trunk/utils/release/merge.sh
Modified: llvm/trunk/utils/release/merge.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/merge.sh?rev=257663&r1=257662&r2=257663&view=diff
==============================================================================
--- llvm/trunk/utils/release/merge.sh (original)
+++ llvm/trunk/utils/release/merge.sh Wed Jan 13 13:48:50 2016
@@ -18,7 +18,7 @@ rev=""
proj=""
revert="no"
-function usage() {
+usage() {
echo "usage: `basename $0` [OPTIONS]"
echo " -proj PROJECT The project to merge the result into"
echo " -rev NUM The revision to merge into the project"
More information about the llvm-commits
mailing list