Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
build
_service:gitpkg:0003-Workaround-quoting-problem...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0003-Workaround-quoting-problem-with-Harmattan.patch of Package build
From 11d631ed987c91c0a2e46d670517079a1706be2d Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Tue, 17 Apr 2012 09:57:46 +0100 Subject: [PATCH] Workaround quoting problem with Harmattan Authored-by: Carsten.Munk@gmail.com --- build-recipe-dsc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-recipe-dsc b/build-recipe-dsc index fc8488f..3455709 100644 --- a/build-recipe-dsc +++ b/build-recipe-dsc @@ -104,7 +104,11 @@ dsc_build() { if test -n "$RUN_SHELL"; then chroot $buildroot su - else - chroot $buildroot su -c "export DEB_BUILD_OPTIONS=${DSC_BUILD_OPTIONS} ; cd $TOPDIR/BUILD && $DSC_BUILD_CMD" - $BUILD_USER < /dev/null && BUILD_SUCCEEDED=true + echo "#!/bin/sh" > $BUILD_ROOT/.debbuildscript + echo "export DEB_BUILD_OPTIONS=${DSC_BUILD_OPTIONS}" >> $BUILD_ROOT/.debbuildscript + echo "cd $TOPDIR/BUILD && $DSC_BUILD_CMD" >> $BUILD_ROOT/.debbuildscript + chmod +x $BUILD_ROOT/.debbuildscript + chroot $buildroot su -c "/.debbuildscript" - $BUILD_USER < /dev/null && BUILD_SUCCEEDED=true if test "$BUILD_SUCCEEDED" = true -a "$DO_CHECKS" != "false" && ( chroot $buildroot su -c "which lintian > /dev/null" - $BUILD_USER < /dev/null ); then DEB_CHANGESFILE=${DEB_DSCFILE%.dsc}_"$(chroot $buildroot su -c 'dpkg-architecture -qDEB_BUILD_ARCH')".changes chroot $buildroot su -c "cd $TOPDIR && echo Running lintian && (set -x && lintian -i $TOPDIR/$DEB_CHANGESFILE)" - $BUILD_USER < /dev/null || BUILD_SUCCEEDED=false -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor