From aab576afdd532081ae979c71cf4aa8a513467880 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Tue, 14 Jun 2011 17:32:52 -0300 Subject: Fixed syntax errors --- fullpkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fullpkg') diff --git a/fullpkg b/fullpkg index befc39f..cbf2e47 100755 --- a/fullpkg +++ b/fullpkg @@ -11,7 +11,7 @@ source /usr/bin/libremessages if [ -z $XDG_CONFIG_HOME ]; then error "There's no XDG_CONFIG_HOME var set" OFLINE=true -elif [ -r $XDG_CONFIG_HOME/libretools/libretools.conf ]; +elif [ -r $XDG_CONFIG_HOME/libretools/libretools.conf ]; then # set queue_file and ban_file source $XDG_CONFIG_HOME/libretools/libretools.conf queue_file=$XDG_CONFIG_HOME/libretools/queue @@ -319,12 +319,12 @@ function _pkg_build () { echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } - pkgs=($(grep "failed:" $build_dir/log) && { + pkgs=($(grep "failed:" $build_dir/log)) && { error "Those packages failed to build:" echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } - pkgs=($(grep "unstaged:" $build_dir/log) && { + pkgs=($(grep "unstaged:" $build_dir/log)) && { error "Those packages couldn't be staged because of missing reponame:" echo ${pkgs[@]} | tr " " "\n" | cut -d: -f2 } -- cgit v1.2.3-54-g00ecf