Skip to content

Commit

Permalink
fix: alias svg->png generation failing (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: vdbe <[email protected]>
  • Loading branch information
Covkie and vdbe authored Nov 27, 2024
1 parent cec18c8 commit 42d57f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-xcursor-plasmasvg
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ genPixmaps=""
for RAWSVG in ${RAWSVG_DIR}/*.svg; do
BASENAME=${RAWSVG##*/}
BASENAME=${BASENAME%.*}
genPixmaps+=" file-open:${RAWSVG};"
genPixmaps+="file-open:${RAWSVG};"

for scale in $SCALES; do
DIR="$BUILD_DIR/x${scale}"
if [[ "${DIR}/${BASENAME}.png" -ot ${RAWSVG} ]]; then
genPixmaps+=" export-width:$((${REAL_SIZE}*scale/100)); export-height:$((${REAL_SIZE}*scale/100)); export-filename:${DIR}/${BASENAME}.png; export-do;"
fi
done
genPixmaps+=" file-close;"
genPixmaps+=" file-close; "

done

Expand Down

0 comments on commit 42d57f7

Please sign in to comment.