summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-14 17:32:52 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-14 17:32:52 -0300
commitaab576afdd532081ae979c71cf4aa8a513467880 (patch)
treef75d02c00965e646a350af7b2e151f7fc8eb430b
parent2f5d37d8387199a77332dd71e910134fa71cff65 (diff)
Fixed syntax errors
-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
}