hterm: fix concat loop
Midway the script changed from "concat.py" to "concat", but that broke
this script because this has a func named "concat". Rename the func
to avoid that.
Change-Id: Ic6097f082a2c9b1ddb16fca69296f422a09eeaae
Reviewed-on: https://chromium-review.googlesource.com/1159598
Reviewed-by: Vitaliy Shipitsyn <vsh@google.com>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/hterm/bin/mkdist.sh b/hterm/bin/mkdist.sh
index edc0f15..4681cae 100755
--- a/hterm/bin/mkdist.sh
+++ b/hterm/bin/mkdist.sh
@@ -29,7 +29,7 @@
FLAGS "$@" || exit $?
eval set -- "${FLAGS_ARGV}"
-function concat() {
+function do_concat() {
local outdir="$1"
local concat=( concat )
@@ -45,7 +45,7 @@
function main() {
rm -rf ./dist/js/
mkdir -p ./dist/js/
- concat "./dist/js"
+ do_concat "./dist/js"
}
main "$@"