diff --git a/scripts/lib/copy-repo.fish b/scripts/lib/copy-repo.fish index 5de5fc73..ff0315ba 100755 --- a/scripts/lib/copy-repo.fish +++ b/scripts/lib/copy-repo.fish @@ -1,7 +1,7 @@ #!/bin/env fish begin set -l target "$argv[1]" - set -l dir "$(status dirname)/.." + set -l dir "$(status dirname)/../.." git clone "$dir" "$target" cp "$dir/.git/config" "$target/.git/config" git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &>/dev/null