summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg6
1 files changed, 3 insertions, 3 deletions
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
}