fix: add find-files #109

Merged
Maks1mS merged 1 commits from Maks1mS/ALR:fix-98 into master 2025-06-19 09:03:38 +00:00
Collaborator

closes #96

Добавляет helper find-files, который корректно обрабатывает ссылки.

Вместо:

files() {
  printf '"%s" ' ./opt/**/*
  printf '"%s" ' ./usr/share/icons/hicolor/*/apps/*
  echo ./usr/bin/firefox
  echo ./usr/share/applications/firefox.desktop
}

Лучше писать так:

files() {
  find-files \
    "/opt/**/*" \
    "/usr/share/icons/hicolor/*/apps/*" \
    "/usr/bin/firefox" \
    "/usr/share/applications/firefox.desktop"
}
closes #96 Добавляет helper find-files, который корректно обрабатывает ссылки. Вместо: ```shell files() { printf '"%s" ' ./opt/**/* printf '"%s" ' ./usr/share/icons/hicolor/*/apps/* echo ./usr/bin/firefox echo ./usr/share/applications/firefox.desktop } ``` Лучше писать так: ```shell files() { find-files \ "/opt/**/*" \ "/usr/share/icons/hicolor/*/apps/*" \ "/usr/bin/firefox" \ "/usr/share/applications/firefox.desktop" } ```
Maks1mS added 1 commit 2025-06-19 08:57:16 +00:00
fix: add find-files
All checks were successful
Pre-commit / pre-commit (pull_request) Successful in 6m19s
b7e8a832c7
Maks1mS scheduled this pull request to auto merge when all checks succeed 2025-06-19 08:57:59 +00:00
Maks1mS merged commit 25d001c1c9 into master 2025-06-19 09:03:38 +00:00
Maks1mS deleted branch fix-98 2025-06-19 09:03:38 +00:00
Maks1mS referenced this issue from a commit 2025-06-19 09:03:39 +00:00
Sign in to join this conversation.
No description provided.