Skip to content

Commit

Permalink
fix icon_map generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kvndrsslr committed Aug 19, 2022
1 parent 811ecde commit 1cc0a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_icon_map_fn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
echo '
function icon_map() {
case "$1" in
'"$(find ./mappings/ -type f -exec sh -c 'x={};echo "${x#*/}\t$(cat {})"' \; | awk -F "\t" '{print " " $2 ")\n icon_result=\"" $1 "\"\n ;;"}')"'
'"$(find ./mappings/ -type f -exec sh -c 'x={};echo "${x##*/}\t$(cat {})"' \; | awk -F "\t" '{print " " $2 ")\n icon_result=\"" $1 "\"\n ;;"}')"'
*)
icon_result=":default:"
;;
Expand Down

0 comments on commit 1cc0a63

Please sign in to comment.