diff options
author | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-09-10 20:32:57 +0000 |
---|---|---|
committer | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-09-10 20:32:57 +0000 |
commit | 5255f6c665d555ee24e07180e79cec1ec5b7e456 (patch) | |
tree | bc3c043340e49e496eba0aa75bc47add00f47911 /bin | |
parent | e99230bf8d43cbab660b2335d329fcec08e6599c (diff) | |
download | ATCD-5255f6c665d555ee24e07180e79cec1ec5b7e456.tar.gz |
configuring path of mogrify
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/performance_stats.sh | 7 |
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 ) |