[cpl-plugin-template] 47/58: Fix include_test_data=no case

Ole Streicher olebole at moszumanska.debian.org
Tue Mar 31 09:23:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian-template
in repository cpl-plugin-template.

commit 987e091e8c10c0f6a994e1a887db9b253a8aa444
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sat Dec 7 17:52:51 2013 +0100

    Fix include_test_data=no case
---
 debian/repackage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/repackage.sh b/debian/repackage.sh
index fa9c13f..1eddf38 100755
--- a/debian/repackage.sh
+++ b/debian/repackage.sh
@@ -34,7 +34,7 @@ rm -f ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig*.tar.* ${FILENAME}
 
 TAREXCLUDE="--exclude ${PIPELINE}-${VERSION}/html"
 if [ $INCLUDE_TEST_DATA = "no" ] ; then
-  TAREXCLUDE+=" --exclude ${PIPELINE}-${VERSION}/*/tests/ref_data"
+  TAREXCLUDE=${TAREXCLUDE}" --exclude ${PIPELINE}-${VERSION}/*/tests/ref_data"
 fi
 
 tar xf ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-${VERSION}.tar.gz\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl-plugin-template.git



More information about the debian-science-commits mailing list