Install directories in alphabetic order
This commit is contained in:
parent
4a22c51a03
commit
9f52040f86
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ install() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd $portzap_dir
|
cd $portzap_dir
|
||||||
find . -maxdepth 1 -type d -exec $libexec_dir/install-directory $ports_dir $libexec_dir {} +
|
find -s . -maxdepth 1 -type d -exec $libexec_dir/install-directory $ports_dir $libexec_dir {} +
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
|
@ -8,5 +8,5 @@ for i in $(seq 3 $#); do
|
||||||
install -d -g $group -m $mode $src $dest/$dir
|
install -d -g $group -m $mode $src $dest/$dir
|
||||||
echo Install $(realpath $dest/$dir)
|
echo Install $(realpath $dest/$dir)
|
||||||
find $dir -maxdepth 1 -type f -exec $libexec_dir/install-file $dest/$dir {} +
|
find $dir -maxdepth 1 -type f -exec $libexec_dir/install-file $dest/$dir {} +
|
||||||
find $dir -depth 1 -type d -exec $libexec_dir/install-directory $dest $libexec_dir {} \;
|
find -s $dir -depth 1 -type d -exec $libexec_dir/install-directory $dest $libexec_dir {} \;
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue