mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
[build] Replace $() with ``
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
90088be534
commit
c148b378cf
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue