diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-28 02:39:42 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-28 02:39:42 +0000 |
commit | e8ab01389a02f64f7a7c5a01a96ca9ca568223da (patch) | |
tree | dad91bd48ef96cc543da055239db44952a6932fb | |
parent | d5dbc2e8edc33dff24d71fe646ea3f35a1c95b56 (diff) | |
download | simplepkg-e8ab01389a02f64f7a7c5a01a96ca9ca568223da.tar.gz simplepkg-e8ab01389a02f64f7a7c5a01a96ca9ca568223da.tar.bz2 |
small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@782 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-x | trunk/src/mkbuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 353d437..db8bc4f 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -1537,7 +1537,10 @@ function set_mkbuild_name { local name="$1" MKBUILD_PATH="" - MKBUILD_NAME="`basename $name`" + + if [ ! -z "$name" ]; then + MKBUILD_NAME="`basename $name`" + fi if echo $name | grep -q "/"; then if echo $name | grep -q -e "\.mkbuild$"; then |