mirror of
git://git.yoctoproject.org/poky
synced 2026-10-22 15:45:33 +00:00
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>
This commit is contained in:
1 parent
5b5c426225
commit
f7367de2ad
1 file changed
+1
@@ -229,6 +229,7 @@ else
|
||||
fi
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: git request-pull reported an error"
|
||||
rm -rf $ODIR
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user