diff options
Diffstat (limited to 'trunk/src/mkbuild')
-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 |