diff --git a/build-utils/layoutgen.sh b/build-utils/layoutgen.sh index e772b4dc6..28db5e054 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 '^LayoutArrange 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 3ec9234a5..bf465369e 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 '^WidgetConstructor ' "$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