[build] Replace $() with ``
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
90088be534
commit
c148b378cf
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue