[scorched3d] 01/03: source repack.local to perform customisations
Phil Morrell
emorrp1-guest at moszumanska.debian.org
Thu Mar 3 00:03:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
emorrp1-guest pushed a commit to branch repack_uscan
in repository scorched3d.
commit b565d1d15cb5b0ec7040335eebdc2679a5358293
Author: Phil Morrell <debian at emorrp1.name>
Date: Mon Feb 29 08:59:00 2016 +0000
source repack.local to perform customisations
---
debian/repack | 30 +++++++-----------------------
1 file changed, 7 insertions(+), 23 deletions(-)
diff --git a/debian/repack b/debian/repack
index f9d5bee..519ac19 100755
--- a/debian/repack
+++ b/debian/repack
@@ -79,29 +79,13 @@ printf "Repackaging upstream source from ‘${upstream_source_dir}’ to ‘${re
mv "${upstream_source_dir}" "${repack_dir}"
-printf "Removing non-DFSG-free files:\n"
-
-nonfree_fileglobs=(
- # Third-party compiler in non-source form, and related files.
- NOTICE.txt
- tools/closure.jar
- tools/COPYING.txt
-
- # Auto-generated files are non-source form.
- adjacency_graphs.js
- frequency_lists.js
-
- # Compiled files are non-source form.
- zxcvbn.js
- zxcvbn-async.js
-
- # Cached downloaded third-party data files.
- data/tv_and_movie_freqlist*.html
- )
-
-for fileglob in "${nonfree_fileglobs[@]}" ; do
- rm -v "${repack_dir}"/$fileglob
-done
+if [ -f "${program_dir}/repack.local" ] ; then
+ printf "Found repack.local, sourcing it from ${repack_dir}:\n"
+ readonly cwd=$(pwd)
+ cd "${repack_dir}"
+ source "${program_dir}/repack.local"
+ cd "${cwd}"
+fi
printf "Rebuilding DFSG-free upstream source tarball:\n"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scorched3d.git
More information about the Pkg-games-commits
mailing list