Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[scripts] make dash compatible

dash shell does not support [^0-9] as meaning other than 0-9

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
commit 861e50fbb3101bc4e1fab684baf5145f574490bb 1 parent da2cce8
Christopher Hall hxw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/progress
2  scripts/progress
View
@@ -209,7 +209,7 @@ do
do
lf="${host}-${language}-${suffix}.log"
echo fetch log from: ${host} to: ${lf}
- RenderDo --yes ${render_host} --list="${host##*[^0-9]}" "cat '${base_dir}/${language}-${suffix}.log'" > "${lf}"
+ RenderDo --yes ${render_host} --list="${host##*[a-zA-Z_-]}" "cat '${base_dir}/${language}-${suffix}.log'" > "${lf}"
done
shift
;;
Please sign in to comment.
Something went wrong with that request. Please try again.