diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-29 21:09:19 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-29 21:09:19 (GMT) |
commit | 3001b2b0856952f09d661ec77b4db46ae0b69a4e (patch) | |
tree | 38adf1e2ec735ef70fcd7b6406432b14dc741062 | |
parent | 09cb7cc351d3d3a73ccee14f4f1e4758d1b4a1a5 (diff) | |
download | linhes_dev-3001b2b0856952f09d661ec77b4db46ae0b69a4e.zip |
Modify mp to not include the pkgname when checking for which repo to use.
Specifily this corrects placing klibc-extras in the extra repo.
-rwxr-xr-x | build_tools/bin/mp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build_tools/bin/mp b/build_tools/bin/mp index 102454e..5a75ca5 100755 --- a/build_tools/bin/mp +++ b/build_tools/bin/mp @@ -23,20 +23,21 @@ fi function find_repo { - echo $mydir|grep -q "extra" + dirname=`dirname $mydir` + echo $dirname|grep -q "extra" if [ $? = 0 ] then REPO=extra${PFIX} else REPO=core${PFIX} fi - echo $mydir|grep -q "chroot-devel" + echo $dirname|grep -q "chroot-devel" if [ $? = 0 ] then REPO=chroot-devel fi - echo $mydir|grep -q "mv-core" + echo $dirname|grep -q "mv-core" if [ $? = 0 ] then REPO=mv-core @@ -51,6 +52,7 @@ function find_repo { then mkdir -p $DOCROOT fi + } |