diff --git a/bin/portzap b/bin/portzap index 8d7989c..961d2fb 100755 --- a/bin/portzap +++ b/bin/portzap @@ -104,7 +104,8 @@ install() { exit 1 fi cd $portzap_dir - find -s . -maxdepth 1 -type d -exec $libexec_dir/install-directory $ports_dir $libexec_dir {} + + find -E -s . -regex .+[^\.git] -regex .+[^\.hooks] -maxdepth 1 -type d \ + -exec $libexec_dir/install-directory $ports_dir $libexec_dir {} + } case $1 in