diff --git a/alacritty.changes b/alacritty.changes index f630c0e..63e490a 100644 --- a/alacritty.changes +++ b/alacritty.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 16 20:44:50 UTC 2021 - Matthias Eliasson + +- Make use of mktemp in revendor_source.sh script so we don't have a + predictable working directory (boo#1180782) + ------------------------------------------------------------------- Mon Jan 11 11:01:09 UTC 2021 - Andreas Schwab diff --git a/revendor_source.sh b/revendor_source.sh index de53fa9..023a4f3 100644 --- a/revendor_source.sh +++ b/revendor_source.sh @@ -4,15 +4,7 @@ set -euo pipefail # packaging helper to workaround: # https://github.com/rust-lang/cargo/issues/7058 -wd="/tmp/revendor" - -if [[ -d "$wd" ]]; then - echo -n "Removing previous ws ($wd)... " - rm -fr $wd - echo "done" -fi - -mkdir -p $wd +wd="$(mktemp -d /tmp/revendor.XXXXXXXXXX)" # take what we need into the build cp vendor*xz $wd