summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 15:00:45 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 15:00:45 -0500
commitb28e0403d42c1c5da7abde57ad69673140084f0b (patch)
tree54292523d044e7127fefbc32c0843cc461abb90a
parentff1baad018f837ac813b460447f0be85c3bdd4d6 (diff)
* corrected _pkg_build function
-rwxr-xr-xfullpkg-ng2
1 files changed, 1 insertions, 1 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index e871a7b..831c743 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -173,6 +173,7 @@ function find_deps {
}
function _pkg_build () {
+ cd ${build_dir} > /dev/null
# Exit loop on Ctrl+C
trap "break" INT
# Remove from queue package being built on error
@@ -331,7 +332,6 @@ find_deps || {
## START Building
msg "Building packages:"
-cd ${build_dir} > /dev/null
[ ! -w $queue_file ] && error "can't write queue file"
_pkg_build