diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-10 16:21:19 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-12-10 16:21:19 +0000 |
commit | 10adc76fb9d27ec744dd40c4ae069ebf5de16dce (patch) | |
tree | c1caeade7bd8d82eebb726a2c3a3c6bd4b453293 /src | |
parent | 4d4068dd5e59a3406b5ab01f2e281dcb8e283557 (diff) | |
download | simplepkg-10adc76fb9d27ec744dd40c4ae069ebf5de16dce.tar.gz simplepkg-10adc76fb9d27ec744dd40c4ae069ebf5de16dce.tar.bz2 |
simplaret: changed config file evaluation
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@60 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-x | src/simplaret | 2 |
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 $* |