summaryrefslogtreecommitdiffstats
path: root/rebuild-iso.sh
blob: aa1b489bcb0fcf527bff429e3e71abbf3ac22371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e
umask 022

sudo rm -rf work
sudo ./build.sh -v
sudo rm -rf work

unset -v latest
for file in out/archlinux-*.iso; do
	[[ $file -nt $latest ]] && latest=$file
done

rsync -tP "$latest" mistral:
ssh root@mistral cd /home/flo\; ./extract-archiso.sh "${latest##*/}"