From: Martin Pitt Date: Tue, 31 Jan 2023 06:16:41 +0000 (+0100) Subject: backport scripts: Remove existing /tmp/backport X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=bd49ab95a927e45ed111fb4aea0ae3eb7bfa8c76;p=bin.git backport scripts: Remove existing /tmp/backport --- 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