diff options
author | Dan McGee <dan@archlinux.org> | 2008-06-13 02:06:14 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-06-13 02:06:14 +0200 |
commit | 7fc306cd41be8586e2d7fb3cc9595fe3bd58b4c1 (patch) | |
tree | cf7357b1ba3aded2987100bc3b2a5e973e54413e /scripts/repo-remove.sh.in | |
parent | 1824bc6ee6c67b248c478d3fdd0f1995cb652b6c (diff) | |
download | pacman-7fc306cd41be8586e2d7fb3cc9595fe3bd58b4c1.tar.gz pacman-7fc306cd41be8586e2d7fb3cc9595fe3bd58b4c1.tar.xz |
Use shell builtin to list files for package inclusion
On BSD systems, as super user, the 'ls' command displays all dot files by
default, causing these to get included when not intended. If we use the bash
glob operator, we can avoid issues with ls on different platforms; however,
we need to turn the nullglob shell option on first to ensure we don't have
problems in empty directories.
Originally-noticed-by: Sebastian Nowicki <sebnow@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-remove.sh.in')
0 files changed, 0 insertions, 0 deletions