summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 15:59:06 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 15:59:06 -0300
commitbeb10991604d7c0f2b5dd4caf7cb92befe264100 (patch)
treebadb239ad5ddb61aa360b5db03229647649ce0ee
parentc7ec446aef83f99746cb6e1b8935b73e65bc0d8d (diff)
Recover sourcing config files, since a few vars were missing (like
PARABOLAHOST). I'd suggest convert the egrep var retrieving on a function on libremessages.
-rwxr-xr-xfullpkg-ng8
1 files changed, 4 insertions, 4 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index 277d570..c0b65f1 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -2,9 +2,9 @@
# TO TEST: (on find_deps)
# * Detect pkgnames by provides, replaces, etc. instead of dir tree
-eval "$(egrep "PACKAGER=|CARCH=" /etc/makepkg.conf)"
-eval "$(egrep "ABSROOT=" /etc/abs.conf)"
-eval "$(egrep "REPOS=|FULLBUILDCMD=" /etc/libretools.conf)"
+source /etc/makepkg.conf
+source /etc/abs.conf
+source /etc/libretools.conf
source /usr/bin/libremessages
[ -r $XDG_CONFIG_HOME/libretools/libretools.conf ] && \
@@ -353,4 +353,4 @@ _pkg_build
echo
msg2 "Check if your system works fine and librerelease if it does"
-exit 0 \ No newline at end of file
+exit 0