summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild_tools/bin/mp10
l---------build_tools/bin/mpl1
2 files changed, 10 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
diff --git a/build_tools/bin/mpl b/build_tools/bin/mpl
new file mode 120000
index 0000000..691afc3
--- /dev/null
+++ b/build_tools/bin/mpl
@@ -0,0 +1 @@
+mp \ No newline at end of file