13 lines
343 B
Bash
13 lines
343 B
Bash
|
echo "---"
|
||
|
echo "Создаём папку для сборки..."
|
||
|
echo "---"
|
||
|
mkdir -p build/wallet
|
||
|
|
||
|
echo "---"
|
||
|
echo "Распаковываем и достаём файлы..."
|
||
|
echo "---"
|
||
|
tar -xvf *.tar.xz
|
||
|
bin_path="$(echo Cake_Wallet* | tr ' ' '\n' | grep -v '\.tar.\xz')"
|
||
|
chmod +x "${bin_path}/cake_wallet"
|
||
|
mv "${bin_path}"/* build/wallet/
|