summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:59 +0000
commit489b73a4c69e01167e693d7153f973105c613c30 (patch)
tree5d72d5ab3cf7dd8efa4e1733579d216d79c8ad66 /resources
parentReleasing progress-linux version 4.2.5-2~progress7.99u1. (diff)
downloadwireshark-489b73a4c69e01167e693d7153f973105c613c30.tar.xz
wireshark-489b73a4c69e01167e693d7153f973105c613c30.zip
Merging upstream version 4.2.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xresources/stock_icons/svg-to-png.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/stock_icons/svg-to-png.sh b/resources/stock_icons/svg-to-png.sh
index 724b08f4..c8f66130 100755
--- a/resources/stock_icons/svg-to-png.sh
+++ b/resources/stock_icons/svg-to-png.sh
@@ -30,7 +30,7 @@ set_source_svgs() {
esac
ONE_X_SVG=${out_icon}.svg
TWO_X_SVG=${out_icon}@2x.svg
- if [ ! -f ${TWO_X_SVG} ] ; then
+ if [ ! -f "${TWO_X_SVG}" ] ; then
TWO_X_SVG=$ONE_X_SVG
fi
}
@@ -111,7 +111,7 @@ for SIZE in 14x14 16x16 24x14 24x24 ; do
set_source_svgs "$ICON"
- if [ ! -f ${ONE_X_SVG} ] ; then
+ if [ ! -f "${ONE_X_SVG}" ] ; then
>&2 echo "Skipping ${ONE_X_SVG}"
continue
fi
@@ -119,14 +119,14 @@ for SIZE in 14x14 16x16 24x14 24x24 ; do
ONE_X_PNG=${ICON}.png
TWO_X_PNG=${ICON}@2x.png
- if [ $ONE_X_SVG -nt "$ONE_X_PNG" ] ; then
+ if [ "$ONE_X_SVG" -nt "$ONE_X_PNG" ] ; then
# shellcheck disable=SC2086
inkscape $COMMON_ARGS $ONE_X_ARGS \
--file="$PWD/$ONE_X_SVG" --export-png="$PWD/$ONE_X_PNG" || exit 1
QRC_FILES="${QRC_FILES} ${SIZE_DIR}/${ONE_X_PNG}"
fi
- if [ $TWO_X_SVG -nt "$TWO_X_PNG" ] ; then
+ if [ "$TWO_X_SVG" -nt "$TWO_X_PNG" ] ; then
# shellcheck disable=SC2086
inkscape $COMMON_ARGS $TWO_X_ARGS \
--file="$PWD/$TWO_X_SVG" --export-png="$PWD/$TWO_X_PNG" || exit 1