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 # main
cd "${target}" cd "${target}"
echo -n "install "
find . \ find . \
-type f \ -type f \
! -name ".git" \ ! -name ".git" \

View file

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