We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7613e0 commit 8db8a5cCopy full SHA for 8db8a5c
convert-ico-to-png
@@ -137,7 +137,7 @@ while [ $# -gt 0 ]; do
137
shift
138
;;
139
--srcset )
140
- srcset_flag=1
+ srcset=true
141
142
-?*)
143
die_opt_unk $1
@@ -150,7 +150,7 @@ done
150
151
## Main ##
152
153
-if [[ -n ${srcset_flag:-} ]]; then
+if [ "$srcset" = true ]; then
154
output_file_base="${output_file_name%.*}"
155
for n in 1 2 3 4; do
156
size=$(($n * $pixel_width))
0 commit comments