diff options
| author | EuAndreh <eu@euandre.org> | 2021-03-21 20:33:00 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-03-21 20:45:35 -0300 |
| commit | 38264af1211b5f0e58d677e45fb2552b967990b9 (patch) | |
| tree | f97d6ca00132487a4577fa1b5ab9a7cabc424585 /sh | |
| parent | fake-symlinks.sh: Add git-permalink and lisp-cli repos (diff) | |
| download | dotfiles-38264af1211b5f0e58d677e45fb2552b967990b9.tar.gz dotfiles-38264af1211b5f0e58d677e45fb2552b967990b9.tar.xz | |
fake-symlinks.sh: Remove unused envsubst_* functions
Diffstat (limited to 'sh')
| -rw-r--r-- | sh/fake-symlinks.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sh/fake-symlinks.sh b/sh/fake-symlinks.sh index e498537c..3ed966e4 100644 --- a/sh/fake-symlinks.sh +++ b/sh/fake-symlinks.sh @@ -60,27 +60,6 @@ cp_if() { done } -envsubst_all() { - for f in "$@"; do - OUT="$PPREFIX/$(normalize_name "$f")" - mkdir -p "$(dirname "$OUT")" - envsubst < "$f" > "$OUT" - - if [ -n "$EXECUTABLE" ]; then - chmod +x "$OUT" - fi - done -} - -envsubst_if_not() { - for f in "$@"; do - OUT="$PPREFIX/$(normalize_name "$f")" - if [ ! -f "$OUT" ]; then - envsubst_all "$f" - fi - done -} - sed_all() { for f in "$@"; do OUT="$PPREFIX/$(normalize_name "$f")" |
