From bd49ab95a927e45ed111fb4aea0ae3eb7bfa8c76 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 31 Jan 2023 07:16:41 +0100 Subject: [PATCH] backport scripts: Remove existing /tmp/backport --- debian-backport-cockpit | 1 + ubuntu-backport-cockpit | 1 + 2 files changed, 2 insertions(+) diff --git a/debian-backport-cockpit b/debian-backport-cockpit index be86c41..5b3df32 100755 --- a/debian-backport-cockpit +++ b/debian-backport-cockpit @@ -20,6 +20,7 @@ upload() { rm -r ${PACKAGE}-* } +rm -rf /tmp/backport mkdir /tmp/backport cd /tmp/backport apt-get source $PACKAGE diff --git a/ubuntu-backport-cockpit b/ubuntu-backport-cockpit index a8cf5f4..a277df7 100755 --- a/ubuntu-backport-cockpit +++ b/ubuntu-backport-cockpit @@ -25,6 +25,7 @@ upload() { rm -r ${PACKAGE}-* } +rm -rf /tmp/backport mkdir /tmp/backport cd /tmp/backport apt-get source $PACKAGE -- 2.39.2