diff options
| author | Stefan Eßer <se@FreeBSD.org> | 2023-02-24 22:14:58 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 2023-02-24 22:14:58 +0000 |
| commit | 61e1a12bb6c3bfdb0a4e499c88e8eaa2b548e427 (patch) | |
| tree | 86bf7579a17d0deeccf9d4a705c36eed3b1e3273 /scripts/exec-install.sh | |
| parent | aaf1213c6f70af0b517f6aa13cd837d3468a7a0d (diff) | |
Diffstat (limited to 'scripts/exec-install.sh')
| -rwxr-xr-x | scripts/exec-install.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/exec-install.sh b/scripts/exec-install.sh index 3b9375af3834..8180b29c9997 100755 --- a/scripts/exec-install.sh +++ b/scripts/exec-install.sh @@ -60,6 +60,12 @@ fi # If it's a symlink, create an equivalent in the install directory. for exe in $bindir/*; do + # Skip any directories in case the bin/ directory is also used as the + # prefix. + if [ -d "$exe" ]; then + continue + fi + base=$(basename "$exe") if [ -L "$exe" ]; then |
