[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
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

View file

@ -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