Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
build
> _service:tar_git:0016-We-rsync-to-the-BUILD_ROOT-not-the-BUILD_TARGET.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0016-We-rsync-to-the-BUILD_ROOT-not-the-BUILD_TARGET.patch of Package build
From 32621a985addf0a49a8b87aacb6108318a83382d Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Mon, 3 Sep 2012 11:59:29 +0100 Subject: [PATCH] We rsync to the BUILD_ROOT not the BUILD_TARGET Signed-off-by: David Greaves <david@dgreaves.com> --- build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build b/build index e354664..c9b4116 100644 --- a/build +++ b/build @@ -1539,13 +1539,13 @@ for SPECFILE in "${SPECFILES[@]}" ; do if test -n "$RSYNCSRC" ; then if test -n "$RSYNCDEST"; then if test -d "$RSYNCSRC"; then - if ! test -d "$BUILD_TARGET/$RSYNCDEST"; then - echo "ATTENTION! Creating target directory ($BUILD_TARGET/$RSYNCDEST) as its not there." - mkdir -p $BUILD_TARGET/$RSYNCDEST + if ! test -d "$BUILD_ROOT/$RSYNCDEST"; then + echo "ATTENTION! Creating target directory ($BUILD_ROOT/$RSYNCDEST) as its not there." + mkdir -p $BUILD_ROOT/$RSYNCDEST fi echo "Running rsync ..." - rsync -av $RSYNCSRC/* $BUILD_TARGET/$RSYNCDEST/ - chown -R "$ABUILD_UID:$ABUILD_GID" "$BUILD_TARGET/$RSYNCDEST" + rsync -av $RSYNCSRC/* $BUILD_ROOT/$RSYNCDEST/ + chown -R "$ABUILD_UID:$ABUILD_GID" "$BUILD_ROOT/$RSYNCDEST" RSYNCDONE=true echo "... done" else -- 1.7.10.3