aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-01-27 21:42:47 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-01-27 21:42:47 +0000
commit964e94af811e34a0b86b73934e572bf0c9668735 (patch)
tree598e8dd3566901764bb06e9e249b29359cd391f0 /lib
parenta5798656b60e286884de9ad38a8d3824d95b2097 (diff)
downloadsimplepkg-964e94af811e34a0b86b73934e572bf0c9668735.tar.gz
simplepkg-964e94af811e34a0b86b73934e572bf0c9668735.tar.bz2
simplepkg 0.4.9pre12
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@129 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'lib')
-rw-r--r--lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.sh b/lib/common.sh
index fccca64..3411f2c 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -151,7 +151,7 @@ function eval_parameter {
# return the evaluated parameter if available or $2 $3 ... $n
if grep -qe "^$1=" $CONF; then
- grep -e "^$1=" $CONF | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | sed -e 's/#.*$//'
+ grep -e "^$1=" $CONF | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | sed -e 's/ *#.*$//'
else
shift
echo $*