[gimp] Issue #8605: Unportable test(1) operator in tools/extract-vector-icon.sh
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue #8605: Unportable test(1) operator in tools/extract-vector-icon.sh
- Date: Sat, 10 Sep 2022 21:09:07 +0000 (UTC)
commit 22dee60a9dffa75bd8b05243d79a43360034b20c
Author: Thomas Klausner <wiz gatalith at>
Date: Sat Sep 10 23:08:06 2022 +0200
Issue #8605: Unportable test(1) operator in tools/extract-vector-icon.sh
tools/extract-vector-icon.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/extract-vector-icon.sh b/tools/extract-vector-icon.sh
index 3282276546..e1e213fe50 100755
--- a/tools/extract-vector-icon.sh
+++ b/tools/extract-vector-icon.sh
@@ -35,7 +35,7 @@ fi
compute_viewbox="$(pwd)/../../tools/compute-svg-viewbox"
source="$1"
id="$2"
-if [ "$#" == 4 ]; then
+if [ "$#" = 4 ]; then
# The expected display width/height for the image.
width="$3"
height="$4"
@@ -107,7 +107,7 @@ rm -f $svg_temp
# The finale SVG file with properly set viewBox.
svg="$svg_start $viewBox"
-if [ "$#" == 5 ]; then
+if [ "$#" = 5 ]; then
svg="$svg
width=\"$width\"
height=\"$height\""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]