summaryrefslogtreecommitdiffstats
path: root/printer/foomatic-db/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'printer/foomatic-db/PRE_BUILD')
-rwxr-xr-xprinter/foomatic-db/PRE_BUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/printer/foomatic-db/PRE_BUILD b/printer/foomatic-db/PRE_BUILD
index a940a1d8ba..3eb8b59f8c 100755
--- a/printer/foomatic-db/PRE_BUILD
+++ b/printer/foomatic-db/PRE_BUILD
@@ -2,4 +2,7 @@ CURRENT_RELEASE=`tar tzf ${SOURCE_CACHE}/foomatic-db-current.tar.gz | head -1 |
mk_source_dir ${BUILD_DIRECTORY}/${CURRENT_RELEASE} &&
unpack_file &&
cd ${BUILD_DIRECTORY} &&
-ln -s ${CURRENT_RELEASE} foomatic-db-current
+ln -s ${CURRENT_RELEASE} foomatic-db-current &&
+cd "$SOURCE_DIRECTORY" &&
+# Avoid stupid overwrite questions from gzip, halting the build.
+sed -i -e 's:\(-exec \$(GZIP)\):\1 -f:' Makefile.in