diff --git a/build-utils/layoutgen.sh b/build-utils/layoutgen.sh index 5edf381a..f0f42985 100755 --- a/build-utils/layoutgen.sh +++ b/build-utils/layoutgen.sh @@ -1,6 +1,6 @@ #!/bin/sh top_srcdir="${1-.}" -echo "/* This file is autogenerated by" $(basename $0) "*/" +echo "/* This file is autogenerated by" `basename $0` "*/" echo echo "const name_func_link_t LayoutList[] =" echo "{" @@ -9,7 +9,7 @@ do echo " /* $file */" grep '^layout_t layout_' $file | cut -d' ' -f2 | cut -d\; -f1 | while read layout do - shortname=$(echo $layout | cut -d _ -f2-) + shortname=`echo $layout | cut -d _ -f2-` echo " {\"$shortname\", $layout}," done done diff --git a/build-utils/widgetgen.sh b/build-utils/widgetgen.sh index 7d51e5b4..b317d897 100755 --- a/build-utils/widgetgen.sh +++ b/build-utils/widgetgen.sh @@ -1,6 +1,6 @@ #!/bin/sh top_srcdir="${1-.}" -echo "/* This file is autogenerated by" $(basename $0) "*/" +echo "/* This file is autogenerated by" `basename $0` "*/" echo echo "const name_func_link_t WidgetList[] =" echo "{" @@ -9,7 +9,7 @@ do echo " /* $file */" grep '^widget_constructor_t ' "$file" | cut -d' ' -f2 | cut -d\; -f1 | while read widget do - shortname=$(echo $widget | cut -d_ -f1) + shortname=`echo $widget | cut -d_ -f1` echo " {\"$shortname\", $widget}," done done