aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/mkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/mkbuild')
-rwxr-xr-xtrunk/src/mkbuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index 1098aa8..45c99fe 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -126,7 +126,7 @@ ${red}COPYRIGHT${normal}
This is free software. You may redistribute copies of it under the
terms of the GNU General Public License
<${yellow}http://www.gnu.org/licenses/gpl.html${normal}>. There is NO WARRANTY,
- to the extent permitted by law." | more
+ to the extent permitted by law."
}
function set_parameters {
@@ -332,6 +332,11 @@ function set_parameters {
shift
done
+ if [ "${MKBUILD_NAME:0:1}" == "-" ]; then
+ echo "Invalid mkbuild name $MKBUILD_NAME"
+ exit 1
+ fi
+
if [ ! -e "$MKBUILD_NAME" ] && [ "$ACTION" != "search" ] && [ "$ACTION" != "status" ]; then
search="`search_mkbuild`"