13 lines
301 B
Fish
13 lines
301 B
Fish
|
#!/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
|