diff options
Diffstat (limited to 'fullpkg-ng')
-rwxr-xr-x | fullpkg-ng | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -173,7 +173,7 @@ function find_deps { } function _pkg_build () { - cd ${build_dir} > /dev/null + pushd ${build_dir} > /dev/null # Exit loop on Ctrl+C trap "break" INT # Remove from queue package being built on error @@ -239,7 +239,7 @@ function _pkg_build () { error "Those packages couldn't be staged because of missing reponame:" plain "$(cat $build_dir/log | grep "unstaged:" | cut -d: -f2)" } - + popd > /dev/null } ## END FUNCTIONS ## @@ -293,7 +293,7 @@ buildorder=$build_dir/BUILDORDER ## if $level = 20 there is highly likely there are circular deps [ $level -eq $max_level -o $level -gt $max_level ] && exit 20 # Build only -[ $level -eq 0 -a $build_only='y' ] && { +[ $level -eq 0 -a $build_only == 'y' ] && { _pkg_build exit 0 } |