14 lines
335 B
Fish
Executable file
14 lines
335 B
Fish
Executable file
#!/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"
|
|
|
|
and begin
|
|
if [ -f "$patch" ]
|
|
git -C "$projectDir" apply --directory=archiso "$patch"
|
|
end
|
|
end
|
|
end
|