[build] Replace $() with ``

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-08 09:35:41 +02:00
parent 90088be534
commit c148b378cf
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
top_srcdir="${1-.}" top_srcdir="${1-.}"
echo "/* This file is autogenerated by" $(basename $0) "*/" echo "/* This file is autogenerated by" `basename $0` "*/"
echo echo
echo "const name_func_link_t LayoutList[] =" echo "const name_func_link_t LayoutList[] ="
echo "{" echo "{"
@ -9,7 +9,7 @@ do
echo " /* $file */" echo " /* $file */"
grep '^layout_t layout_' $file | cut -d' ' -f2 | cut -d\; -f1 | while read layout grep '^layout_t layout_' $file | cut -d' ' -f2 | cut -d\; -f1 | while read layout
do do
shortname=$(echo $layout | cut -d _ -f2-) shortname=`echo $layout | cut -d _ -f2-`
echo " {\"$shortname\", $layout}," echo " {\"$shortname\", $layout},"
done done
done done

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
top_srcdir="${1-.}" top_srcdir="${1-.}"
echo "/* This file is autogenerated by" $(basename $0) "*/" echo "/* This file is autogenerated by" `basename $0` "*/"
echo echo
echo "const name_func_link_t WidgetList[] =" echo "const name_func_link_t WidgetList[] ="
echo "{" echo "{"
@ -9,7 +9,7 @@ do
echo " /* $file */" echo " /* $file */"
grep '^widget_constructor_t ' "$file" | cut -d' ' -f2 | cut -d\; -f1 | while read widget grep '^widget_constructor_t ' "$file" | cut -d' ' -f2 | cut -d\; -f1 | while read widget
do do
shortname=$(echo $widget | cut -d_ -f1) shortname=`echo $widget | cut -d_ -f1`
echo " {\"$shortname\", $widget}," echo " {\"$shortname\", $widget},"
done done
done done