Skip to content

Commit

Permalink
consistent spacing in setup.sh progress messages. no detail is too sm…
Browse files Browse the repository at this point in the history
…all to escape the gimlet (pedantic?) eye of rbuels.
  • Loading branch information
rbuels committed Apr 9, 2012
1 parent 4d2f497 commit cd80e2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
done_message () {
if [ $? == 0 ]; then
echo done.
echo " done."
if [ "x$1" != "x" ]; then
echo $1;
fi
else
echo failed. See setup.log file for error messages. $2
echo " failed. See setup.log file for error messages." $2
fi
}

Expand All @@ -24,7 +24,7 @@ fi;
done_message "" "As a first troubleshooting step, make sure development libraries and header files for GD, Zlib, and libpng are installed and try again.";

echo
echo -n "Formatting Volvox example data ... ";
echo -n "Formatting Volvox example data ...";
( set -e;
set -x;
rm -rf sample_data/json/volvox;
Expand All @@ -35,7 +35,7 @@ echo -n "Formatting Volvox example data ... ";
done_message "To see the example data, browse to http://your.jbrowse.root/index.html?data=sample_data/json/volvox.";

echo
echo -n "Building and installing wiggle format support ... ";
echo -n "Building and installing wiggle format support ...";
(
set -e;
if( [ ! -f bin/wig2png ] ); then
Expand Down

0 comments on commit cd80e2e

Please sign in to comment.