summaryrefslogtreecommitdiff
path: root/kernlab.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-11 09:10:00 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-11 09:10:00 +0200
commite2da541cecd308ee314267b33476c052f31e3204 (patch)
tree6d800c02dee9810607a4c4ee02399f579f7125f1 /kernlab.sh
parent71634bcd25321761d79119971d703a67b0ac5d9f (diff)
Guarding dirs, Linking OB LIB to site_ruby
Diffstat (limited to 'kernlab.sh')
-rw-r--r--kernlab.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernlab.sh b/kernlab.sh
index a49635f..2fba2a8 100644
--- a/kernlab.sh
+++ b/kernlab.sh
@@ -58,6 +58,7 @@ fi
if [ ! -f $KL_CONF ]; then
echo "if echo \"\$R_LIBS\" | grep -v \"$KL_DEST\">/dev/null 2>&1; then export R_LIBS=\"$KL_DEST\"; fi" >> "$KL_CONF"
+ echo "if ! [ -d \"$KL_DEST\" ]; then echo \"\$0: '$KL_DEST' is not a directory!\"; fi" >> "$KL_CONF"
echo "R package destination has been stored in '$KL_CONF'."
if ! grep "$KL_CONF" $OT_UI_CONF >/dev/null 2>&1 ; then