PortValhalla/archiso/scripts/update.fish

13 lines
301 B
Fish
Raw Normal View History

2024-07-07 22:44:35 +00:00
#!/bin/env fish
begin
set -l dir (status dirname)
set -l projectDir "$dir/.."
set -l patch "$dir/valhalla.patch"
. "$dir/template-path.fish"
cp -r "$(templatePath)"/* "$projectDir"
if [ -f "$patch" ]
git -C "$projectDir" apply --directory=archiso "$patch"
end
end