Commit 9c00f1cf authored by tista500's avatar tista500

Gtk/Shell/Wm: [render-asset.sh] Switch to '--export-filename' option when 1.0rcX was used

I'm really sick with upstream's 'regardless' changes.
when beta, when rc, so when can I finally set the 'stable' options
for Inkscape? :/

I'm really afraid of the 1.0 stable, too...

Close #109
parent 4b84572e
......@@ -26,7 +26,11 @@ else
fi
if [ "$ink_maj_ver" -ge 1 ]; then
ink_export_option="--export-file"
if [ "$ink_mnr_ver" = '0b' ]; then
ink_export_option="--export-file"
else
ink_export_option="--export-filename"
fi
else
ink_export_option="--export-png"
fi
......
......@@ -29,7 +29,11 @@ else
fi
if [ "$ink_maj_ver" -ge 1 ]; then
ink_export_option="--export-file"
if [ "$ink_mnr_ver" = '0b' ]; then
ink_export_option="--export-file"
else
ink_export_option="--export-filename"
fi
else
ink_export_option="--export-png"
fi
......
......@@ -52,7 +52,11 @@ else
fi
if [ "$ink_maj_ver" -ge 1 ]; then
ink_export_option="--export-file"
if [ "$ink_mnr_ver" = '0b' ]; then
ink_export_option="--export-file"
else
ink_export_option="--export-filename"
fi
else
ink_export_option="--export-png"
fi
......
......@@ -26,7 +26,11 @@ else
fi
if [ "$ink_maj_ver" -ge 1 ]; then
ink_export_option="--export-file"
if [ "$ink_mnr_ver" = '0b' ]; then
ink_export_option="--export-file"
else
ink_export_option="--export-filename"
fi
else
ink_export_option="--export-png"
fi
......
......@@ -26,7 +26,11 @@ else
fi
if [ "$ink_maj_ver" -ge 1 ]; then
ink_export_option="--export-file"
if [ "$ink_mnr_ver" = '0b' ]; then
ink_export_option="--export-file"
else
ink_export_option="--export-filename"
fi
else
ink_export_option="--export-png"
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment