Exclude .git, .hooks from 'portzap install'
This commit is contained in:
parent
e8c78f4f0e
commit
2775e5f923
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ install() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd $portzap_dir
|
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
|
case $1 in
|
||||||
|
|
Loading…
Reference in a new issue