[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2463/8267] create-pull-request: remove output directory
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2463/8267] create-pull-request: remove output directory
- Date: Sat, 16 Dec 2017 23:15:56 +0000 (UTC)
commit f7367de2addf60c8e06c600d44d363eae532308c
Author: Ed Bartosh <ed bartosh linux intel com>
Date: Wed Sep 14 15:02:04 2016 +0300
create-pull-request: remove output directory
When 'git request-pull' fails it makes sense to remove output
directory. Otherwise create-pull-request will complain that
output directory already exists on the next run.
(From OE-Core rev: 8535784ba84060e0e7ca05e7771a58f9c70c69b9)
Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
scripts/create-pull-request | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 3f30cf1..a88f35a 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -229,6 +229,7 @@ else
fi
if [ $? -ne 0 ]; then
echo "ERROR: git request-pull reported an error"
+ rm -rf $ODIR
exit 1
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]