From 18b63c28b21b43b87ec7a87ab46dbb2e5b771496 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 24 Jan 2009 05:52:24 +0100 Subject: [PATCH] Show .svg graphics also in dry-run (local test mode) Signed-off-by: Johannes Schindelin --- upload.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/upload.sh b/upload.sh index 38924e0741..b5a0da9b41 100755 --- a/upload.sh +++ b/upload.sh @@ -326,8 +326,13 @@ handle_svg_file () { # for some reason, Firefox adds scrollbars, so nudge the width a bit width=$(sed -ne 's/.* width="\([^"]*\).*/\1/p' -e '/ @@ -351,7 +356,7 @@ EOF # parse command line option case "$1" in -*dry*) DRYRUN=1; shift;; +*dry*) DRYRUN=1; export DRYRUN; shift;; *show*) firefox "$(pwd)"/$TEST; exit;; *remote*) firefox $URLPREFIX$URL$OUTPUT; exit;; handle) -- 2.11.4.GIT