repo-add: anchor exclusion pattern when generating filelist
commitd63599719af6db4fa3e41b4129b4a5b1fef41cf8
authorDan McGee <dan@archlinux.org>
Thu, 2 Jun 2011 12:59:45 +0000 (2 07:59 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 2 Jun 2011 13:04:06 +0000 (2 08:04 -0500)
tree701a9e79623adaaaa5b85461f3cfbb7bd14697a5
parentc1f742d7750a14b680d2ceb2c75d952ccb53585d
repo-add: anchor exclusion pattern when generating filelist

Fixes FS#24534. Dotfiles, such as /etc/skel/.bash_profile, were not
being included in generated files entries. bsdtar --exclude option
supports anchors on the pattern, so using "^.*" instead of ".*" solves
our problem and still excludes all root-level dotfiles (e.g. .PKGINFO).

Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/repo-add.sh.in