diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/fake-symlinks.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bash/fake-symlinks.sh b/bash/fake-symlinks.sh index 42a483b..939f519 100644 --- a/bash/fake-symlinks.sh +++ b/bash/fake-symlinks.sh @@ -9,7 +9,9 @@ SRHT_REPOS_PATH="$HOME/dev/libre" for repo in "${SRHT_REPOS[@]}"; do REPO="$repo" envsubst < "$DOTFILES/templates/sr-ht-build.yaml" > "$SRHT_REPOS_PATH/$repo/.build.yml" - cp "$DOTFILES/nixos/utils.nix" "$SRHT_REPOS_PATH/$repo/utils.nix" + if [[ "$repo" != "dotfiles" ]]; then + cp "$DOTFILES/utils.nix" "$SRHT_REPOS_PATH/$repo/utils.nix" + fi if [[ "$repo" != "website" ]]; then REPO="$repo" envsubst < "$DOTFILES/templates/env.sh" > "$SRHT_REPOS_PATH/$repo/env.sh" fi |