summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-07-13 20:22:03 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-07-14 13:03:54 +0200
commit4e0ab4065f3fdf81574d60d26e072386f6244c37 (patch)
tree49930819d668b929f09d5b358a4c6093107636b7 /priv
parent12b26fab32a1477d0d762ceea329291c86730528 (diff)
Fix grep portability (Reported-by: Andrew Thompson)
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index d2ef73f..bacce8d 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -23,14 +23,14 @@ cd $RUNNER_BASE_DIR
mkdir -p $RUNNER_LOG_DIR
# Extract the target node name from node.args
-NAME_ARG=`egrep -e '^-s?name' $RUNNER_ETC_DIR/vm.args`
+NAME_ARG=`egrep '^-s?name' $RUNNER_ETC_DIR/vm.args`
if [ -z "$NAME_ARG" ]; then
echo "vm.args needs to have either -name or -sname parameter."
exit 1
fi
# Extract the target cookie
-COOKIE_ARG=`grep -e '^-setcookie' $RUNNER_ETC_DIR/vm.args`
+COOKIE_ARG=`grep '^-setcookie' $RUNNER_ETC_DIR/vm.args`
if [ -z "$COOKIE_ARG" ]; then
echo "vm.args needs to have a -setcookie parameter."
exit 1