forked from pool/alacritty
Accepting request 863748 from home:elimat:branches:X11:terminals
- Make use of mktemp in revendor_source.sh script so we don't have a predictable working directory (boo#1180782) OBS-URL: https://build.opensuse.org/request/show/863748 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=42
This commit is contained in:
parent
5cc1283965
commit
83ce2da478
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 16 20:44:50 UTC 2021 - Matthias Eliasson <elimat@opensuse.org>
|
||||||
|
|
||||||
|
- 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 <schwab@suse.de>
|
Mon Jan 11 11:01:09 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@ -4,15 +4,7 @@ set -euo pipefail
|
|||||||
# packaging helper to workaround:
|
# packaging helper to workaround:
|
||||||
# https://github.com/rust-lang/cargo/issues/7058
|
# https://github.com/rust-lang/cargo/issues/7058
|
||||||
|
|
||||||
wd="/tmp/revendor"
|
wd="$(mktemp -d /tmp/revendor.XXXXXXXXXX)"
|
||||||
|
|
||||||
if [[ -d "$wd" ]]; then
|
|
||||||
echo -n "Removing previous ws ($wd)... "
|
|
||||||
rm -fr $wd
|
|
||||||
echo "done"
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p $wd
|
|
||||||
|
|
||||||
# take what we need into the build
|
# take what we need into the build
|
||||||
cp vendor*xz $wd
|
cp vendor*xz $wd
|
||||||
|
Loading…
Reference in New Issue
Block a user