Label mkdir / install scripts

This commit is contained in:
0x1eef 2024-09-24 18:38:04 -03:00
parent 90f1a0e09f
commit 2d5608dbea
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ destdir="${2}"
##
# main
cd "${target}"
echo -n "install "
find . \
-type f \
! -name ".git" \

View file

@ -9,8 +9,9 @@ destdir="${2}"
##
# main
cd "${target}"
echo -n "mkdir "
find . \
! -name .git \
! -name ".git" \
-type d \
-exec install -d -m u=rwx,g=rx,o= "${destdir}"/"{}" \; \
-exec echo -n . \;