summaryrefslogtreecommitdiff
path: root/src/mips64el-tools/mipsrelease
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-31 18:52:49 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 19:53:19 -0600
commit1316ba7aa96c69ea541f1b7b3715aad5d1c8eb14 (patch)
treedf265c278a4bcb4823a725b9d78936d6f6fc67ef /src/mips64el-tools/mipsrelease
parent29230b22081f9982f02d1c2fa46834089422d098 (diff)
[all tools]: use conf.sh (and libremessages if necessary)
Diffstat (limited to 'src/mips64el-tools/mipsrelease')
-rwxr-xr-xsrc/mips64el-tools/mipsrelease9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mips64el-tools/mipsrelease b/src/mips64el-tools/mipsrelease
index 4d7a7de..393ca08 100755
--- a/src/mips64el-tools/mipsrelease
+++ b/src/mips64el-tools/mipsrelease
@@ -7,10 +7,11 @@
# $1 repo
# $2+ packages
-source /etc/makepkg.conf
-source /etc/libretools.conf
-
-libretoolsdir="$(dirname $0)/../"
+. libremessages
+. $(librelib conf.sh)
+load_files makepkg
+load_files libretools
+check_vars libretools WORKDIR || exit 1
usage() {
echo "$0 repo package1 [ package2 ... packageN ]"