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
|
# main
|
||||||
cd "${target}"
|
cd "${target}"
|
||||||
|
echo -n "install "
|
||||||
find . \
|
find . \
|
||||||
-type f \
|
-type f \
|
||||||
! -name ".git" \
|
! -name ".git" \
|
||||||
|
|
|
@ -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 . \;
|
||||||
|
|
Loading…
Reference in a new issue