summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/mp
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/bin/mp')
-rwxr-xr-xbuild_tools/bin/mp10
1 files changed, 9 insertions, 1 deletions
diff --git a/build_tools/bin/mp b/build_tools/bin/mp
index 49dfb1b..102454e 100755
--- a/build_tools/bin/mp
+++ b/build_tools/bin/mp
@@ -42,7 +42,15 @@ function find_repo {
REPO=mv-core
fi
+ if [ x`basename $0` = xmpl ]
+ then
+ REPO="local"
+ fi
DOCROOT=/data/pkg_repo/$CARCH/$REPO
+ if [ ! -e $DOCROOT ]
+ then
+ mkdir -p $DOCROOT
+ fi
}
@@ -83,7 +91,7 @@ function update-src-pkg {
}
-
+#MAIN PROGRAM
find_repo