diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-05 01:02:18 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-05 01:02:18 +0000 |
commit | 0866034c27d9e8451769cf2d52abb7bd33c2c296 (patch) | |
tree | 23bffc11b82464e2ce85950601aa57fca7638e2f | |
parent | e5be6dc98b4a843dab83a85fc57b4e3a5fdc9a65 (diff) | |
download | simplepkg-0866034c27d9e8451769cf2d52abb7bd33c2c296.tar.gz simplepkg-0866034c27d9e8451769cf2d52abb7bd33c2c296.tar.bz2 |
minor fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@736 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-x | trunk/src/mkbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 6967ead..ec79912 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -327,7 +327,7 @@ function get_variable { [ $# -ne 1 ] && handle_error $ERROR_PAR_NUMBER [ -z $MKBUILD_NAME ] && echo "Warning: no [mkbuild_file]." && return 0 - sed -n '1,/^#>>/ p' $MKBUILD_NAME | grep "^\[\[${1}\]\]" | cut -f2- -d= | sed -e 's/^"//' -e 's/"$//' + sed -n '1,/^#>>/ p' $MKBUILD_NAME | grep "^\[\[${1}\]\]" | tail -n 1 | cut -f2- -d= | sed -e 's/^"//' -e 's/"$//' } |