summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 18:06:10 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 18:06:10 -0500
commitd48d50d162315e5ce915effbd27f3600d836e56e (patch)
treeb75e6a79fd999b3e0e6de27a5f939629ff22d477 /fullpkg
parent4c8953f03248d2084d98a9a357a67c370a89573c (diff)
fixed build_only test
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/fullpkg b/fullpkg
index 39d4fa9..a03ff1b 100755
--- a/fullpkg
+++ b/fullpkg
@@ -371,7 +371,7 @@ while getopts 'ha:b:cCd:l:nm:r:o' arg; do
usage
exit 1
}
- [ -e ${build_dir}/BUILDORDER ] && {
+ [ ! -r ${build_dir}/BUILDORDER ] && {
error "${build_dir}/BUILDORDER doesn't exist."
exit 1
};;
@@ -454,7 +454,7 @@ find_deps || {
else
rsync -e ssh -aq $PARABOLAHOST:mips64el/ban >/dev/null 2>&1 || {
- warning "Failed to get ban list" && [ -r $ban_file ] && {
+ warning "Failed to get ban list" && [ -r ${ban_file} ] && {
# Use local copy of ban file if it is avaliable and continue.
search=$(cat ${ban_file} | tr "\n" "|")