summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorfields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-09-10 20:32:57 +0000
committerfields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-09-10 20:32:57 +0000
commit5255f6c665d555ee24e07180e79cec1ec5b7e456 (patch)
treebc3c043340e49e496eba0aa75bc47add00f47911 /bin
parente99230bf8d43cbab660b2335d329fcec08e6599c (diff)
downloadATCD-5255f6c665d555ee24e07180e79cec1ec5b7e456.tar.gz
configuring path of mogrify
Diffstat (limited to 'bin')
-rwxr-xr-xbin/performance_stats.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/performance_stats.sh b/bin/performance_stats.sh
index 5228fae6bad..13944f66040 100755
--- a/bin/performance_stats.sh
+++ b/bin/performance_stats.sh
@@ -168,11 +168,16 @@ _EOF_
/bin/cp CORBA.png All.png $DEST/images/
+MOGRIFY=/usr/local/bin/mogrify
+if [ ! -x "$MOGRIFY" ]; then
+ MOGRIFY=/usr/X11R6/bin/mogrify
+fi
+
(
cd $DEST/images
/bin/cp *.png thumbnails
for i in *.png; do
- /usr/local/bin/mogrify -geometry '25%' thumbnails/$i
+ $MOGRIFY -geometry '25%' thumbnails/$i
done
)