summaryrefslogtreecommitdiff
path: root/kernlab.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-01 16:27:53 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-01 16:27:53 +0200
commit6e15685c0992a720507209c2c9b43a9c561ade5e (patch)
treee15071fc77f7435964d4b4036327df4815c5d9d8 /kernlab.sh
parent94090051d00b329559ce6ccfbbcb7b00f4509c7d (diff)
Removed bashismsh
Diffstat (limited to 'kernlab.sh')
-rwxr-xr-xkernlab.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernlab.sh b/kernlab.sh
index 395d49a..10141e2 100755
--- a/kernlab.sh
+++ b/kernlab.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
#
# Installs Kernlab.
# Author: Christoph Helma, Andreas Maunz.
#
-source "`pwd`/utils.sh"
+. "`pwd`/utils.sh"
DIR="`pwd`"
if [ "$(id -u)" = "0" ]; then
@@ -61,7 +61,7 @@ if [ ! -f $KL_CONF ]; then
echo "R package destination has been stored in '$KL_CONF'."
if ! grep "$KL_CONF" $HOME/.bashrc >/dev/null 2>&1 ; then
- echo "source \"$KL_CONF\"" >> $HOME/.bashrc
+ echo ". \"$KL_CONF\"" >> $HOME/.bashrc
fi
fi