summaryrefslogtreecommitdiff
path: root/pkgbuild-check-nonfree
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 18:01:35 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 18:01:35 -0300
commit6b6341d3d8f5ac6d1f2248edcd3b29672a40cb7e (patch)
tree5ed1d1047708218bd73cd3c9ba0fed2c13881db5 /pkgbuild-check-nonfree
parent37013de11c60a9bbdb58bdc871d0c4b4fc899af3 (diff)
Fixed "unexpected end of file" error
Diffstat (limited to 'pkgbuild-check-nonfree')
-rwxr-xr-xpkgbuild-check-nonfree6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index 21842ac..b7c1237 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -40,6 +40,7 @@ function get_blacklist { # Download the blacklist.
exit 1
}
warning "Using local copy of blacklist"
+ }
}
function check_deps { # Check wheter a package depends on non-free
@@ -67,6 +68,8 @@ function check_deps { # Check wheter a package depends on non-free
fi
fi
done
+
+ return $ev
}
source /etc/libretools.conf
@@ -95,4 +98,5 @@ get_blacklist
check_deps
-exit $ev
+exit $?
+