aboutsummaryrefslogtreecommitdiff
path: root/contrib/copy-anastasis-into-prebuilt.sh
blob: 3ac7095c0f7470991049ae2aa78a9b3377e817a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

[ ! -d prebuilt ] && git worktree add -f prebuilt prebuilt && exit 1

rm -f prebuilt/anastasis/*
find packages/anastasis-webui/dist/prod/ -type f -printf '%P\n' | sort > prebuilt/anastasis/bof

while IFS= read -r file; do
  cp packages/anastasis-webui/dist/prod/$file prebuilt/anastasis/$file
done < prebuilt/anastasis/bof