Label mkdir / install scripts
This commit is contained in:
parent
90f1a0e09f
commit
2d5608dbea
2 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ destdir="${2}"
|
|||
##
|
||||
# main
|
||||
cd "${target}"
|
||||
echo -n "install "
|
||||
find . \
|
||||
-type f \
|
||||
! -name ".git" \
|
||||
|
|
|
@ -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 . \;
|
||||
|
|
Loading…
Reference in a new issue