summaryrefslogtreecommitdiff
path: root/openbabel.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-29 11:10:51 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-29 11:10:51 +0200
commit5b3efd446178d1b70d9f33aa7c2313d44b3468ae (patch)
treee8c383f3393df83c8cc3711949a0af9ca06d2c5b /openbabel.sh
parentefbb93fa26b088bfbf31546c465189a95a898c4d (diff)
Fixed line indent in bash conf
Diffstat (limited to 'openbabel.sh')
-rwxr-xr-xopenbabel.sh28
1 files changed, 14 insertions, 14 deletions
diff --git a/openbabel.sh b/openbabel.sh
index 8ac66dc..0de3858 100755
--- a/openbabel.sh
+++ b/openbabel.sh
@@ -96,20 +96,20 @@ echo
echo "Preparing Openbabel..."
if [ ! -f $OB_CONF ]; then
echo "PATH=$PREFIX/bin:\$PATH" >> "$OB_CONF"
- echo "if [ -z \"$LD_LIBRARY_PATH\" ]; then \
- export LD_LIBRARY_PATH=\"$BABEL_INST/lib\" \
- else \
- export LD_LIBRARY_PATH=\"$BABEL_INST/lib:$LD_LIBRARY_PATH\" \
- fi" >> "$OB_CONF"
- echo "if [ -z \"$BABEL_LIBDIR\" ]; then \
- export BABEL_LIBDIR=\"$BABEL_INST/lib/openbabel/2.3.0\" \
- fi" >> "$OB_CONF"
- echo "if [ -z \"$BABEL_DATADIR\" ]; then \
- export BABEL_DATADIR=\"$BABEL_INST/share/openbabel/2.3.0\" \
- fi" >> "$OB_CONF"
- echo "if [ -z \"$RUBYLIB\" ]; then \
- export RUBYLIB=\"$PREFIX_BINDINGS\" \
- fi" >> "$RUBY_CONF"
+ echo "if [ -z \"$LD_LIBRARY_PATH\" ]; then \n \
+ export LD_LIBRARY_PATH=\"$BABEL_INST/lib\" \n \
+ else \n\
+ export LD_LIBRARY_PATH=\"$BABEL_INST/lib:$LD_LIBRARY_PATH\" \n\
+ fi \n" >> "$OB_CONF"
+ echo "if [ -z \"$BABEL_LIBDIR\" ]; then \n \
+ export BABEL_LIBDIR=\"$BABEL_INST/lib/openbabel/2.3.0\" \n \
+ fi \n" >> "$OB_CONF"
+ echo "if [ -z \"$BABEL_DATADIR\" ]; then \n\
+ export BABEL_DATADIR=\"$BABEL_INST/share/openbabel/2.3.0\" \n\
+ fi \n" >> "$OB_CONF"
+ echo "if [ -z \"$RUBYLIB\" ]; then \n\
+ export RUBYLIB=\"$PREFIX_BINDINGS\" \n\
+ fi \n" >> "$RUBY_CONF"
echo "Openbabel configuration has been stored in '$OB_CONF'."
echo -n "Decide if Openbabel configuration should be linked to your .bashrc ('y/n'): "