From 68af25fde8dc389fb11e7b0f5cc4d718a478f885 Mon Sep 17 00:00:00 2001 From: Luca Scarabello <luca.scarabello@sed.ethz.ch> Date: Tue, 18 Jul 2017 09:52:14 +0200 Subject: [PATCH] Replaced 'rm gmt.conf' with 'gmt clear conf' --- scripts/plotLocations.sh | 3 ++- scripts/plotLocations_Basel.sh | 2 +- scripts/plotLocations_Basel_media.sh | 2 +- scripts/plotLocations_all.sh | 2 +- scripts/plotTimeline.sh | 3 +-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/plotLocations.sh b/scripts/plotLocations.sh index bd6b1b3..a3bedd2 100755 --- a/scripts/plotLocations.sh +++ b/scripts/plotLocations.sh @@ -116,6 +116,7 @@ convert -density 150 -flatten -antialias +repage "$out.pdf" "$out.png" ### Clean up rm "$out.ps" rm "$COLORMAP" -rm gmt.conf +gmt clear conf + exit diff --git a/scripts/plotLocations_Basel.sh b/scripts/plotLocations_Basel.sh index 8a92790..dd54694 100755 --- a/scripts/plotLocations_Basel.sh +++ b/scripts/plotLocations_Basel.sh @@ -310,6 +310,6 @@ convert -density 150 -flatten -antialias +repage "$out.pdf" "$out.png" rm -f tmp* rm "$out.ps" rm "$COLORMAP" -rm gmt.conf +gmt clear conf exit diff --git a/scripts/plotLocations_Basel_media.sh b/scripts/plotLocations_Basel_media.sh index bc0d4ad..4de9f4a 100644 --- a/scripts/plotLocations_Basel_media.sh +++ b/scripts/plotLocations_Basel_media.sh @@ -146,6 +146,6 @@ convert -density 150 -flatten -antialias +repage "$out.pdf" "$out.png" rm -f tmp* rm "$out.ps" rm "$COLORMAP" -rm gmt.conf +gmt clear conf exit diff --git a/scripts/plotLocations_all.sh b/scripts/plotLocations_all.sh index 1dea01b..1868d79 100755 --- a/scripts/plotLocations_all.sh +++ b/scripts/plotLocations_all.sh @@ -91,6 +91,6 @@ convert -density 150 -flatten -antialias +repage -border 4 -bordercolor White $o rm -f tmp* rm $out.ps rm $COLORMAP -rm gmt.conf +gmt clear conf exit diff --git a/scripts/plotTimeline.sh b/scripts/plotTimeline.sh index 97f4d55..14e96f1 100755 --- a/scripts/plotTimeline.sh +++ b/scripts/plotTimeline.sh @@ -658,7 +658,6 @@ esac rm "$out.ps" rm "$COLORMAP" -rm gmt.conf - +gmt clear conf exit -- GitLab