summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-13 12:14:41 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-13 12:14:41 -0800
commit3c8878d337d59f46d37446ddde2b40af69d36330 (patch)
treef256cebb5688f3c61f45f2e2b8a454447e27e10e
parent277c01e56e42977c01a1fe709cfe2130bf177ac2 (diff)
Allow skipping of sourceball license check
Also add a whitelist of files to skip (empty right now) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/sourceballs10
-rw-r--r--cron-jobs/sourceballs.force0
2 files changed, 9 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 31ac1af..b709d14 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -61,12 +61,20 @@ for repo in $repos; do
srcpath="$srcbase/"
srcpkg="${pkg//-$arch$PKGEXT/$SRCEXT}"
+ #Don't do anything for package in this 'blacklist'
if grep $pkgname "$dirname/sourceballs.skip" >/dev/null 2>&1; then
continue
fi
+ #Use this file to 'whitelist' or force building some sourceballs,
+ # skipping the license check
+ force=""
+ if grep $pkgname "$dirname/sourceballs.force" >/dev/null 2>&1; then
+ force="-f"
+ fi
+
if [ ! -f "$srcpath$srcpkg" ]; then
- if ! $dirname/../misc-scripts/make-sourceball \
+ if ! $dirname/../misc-scripts/make-sourceball $force \
$pkgname $repo $arch 2>>"$srcbase/errors.txt"; then
FAILED_PKGS="$FAILED_PKGS $pkg"
fi
diff --git a/cron-jobs/sourceballs.force b/cron-jobs/sourceballs.force
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/cron-jobs/sourceballs.force