mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
openmoji: fix array shell variable, don't only process the first code :)
This commit is contained in:
parent
4a377fd617
commit
68cbdf8fe5
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@ in stdenv.mkDerivation rec {
|
|||
cp "./black/svg/$filename" "./font/tmp-black/$filename"
|
||||
done
|
||||
|
||||
hexcodes=($(uniq<<<"$hexcodes"))
|
||||
hexcodes=($(uniq<<<"''${hexcodes[@]}"))
|
||||
|
||||
for h in $hexcodes; do
|
||||
for h in ''${hexcodes[@]}; do
|
||||
filename="$h.svg"
|
||||
if [ ! -e "./color/svg/$filename" ]; then
|
||||
echo "$h is missing -> substitute with \"Missing Glyph\": $filename"
|
||||
|
|
Loading…
Reference in a new issue