diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-14 17:32:52 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-14 17:32:52 -0300 |
commit | aab576afdd532081ae979c71cf4aa8a513467880 (patch) | |
tree | f75d02c00965e646a350af7b2e151f7fc8eb430b | |
parent | 2f5d37d8387199a77332dd71e910134fa71cff65 (diff) |
Fixed syntax errors
-rwxr-xr-x | fullpkg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |