aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/simplaret2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplaret b/src/simplaret
index d892a2b..25d3785 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -35,7 +35,7 @@ function simplaret_eval_parameter {
# return the evaluated parameter if available or $2 $3 ... $n
if grep -qe "^$1=" $SIMPLARET_CONF; then
- grep -e "^$1=" $SIMPLARET_CONF | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | cut -d "#" -f 1
+ grep -e "^$1=" $SIMPLARET_CONF | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | awk '{ print $1 }'
else
shift
echo $*