mirror of https://gitee.com/bigwinds/arangodb
by CoDEmanX: fix file permissions before installing
This commit is contained in:
parent
63f9782fc3
commit
f51f8dde0b
|
@ -14,6 +14,7 @@ ${SRCDIR}/Installation/file-list-js.sh ${SRCDIR} | while read a; do
|
|||
TO="${DSTDIR}/$a"
|
||||
DIR=`dirname "${TO}"`
|
||||
|
||||
chmod a+r "${FROM}"
|
||||
test -d "${DIR}" || mkdir -p "${DIR}"
|
||||
cp -n "${FROM}" "${TO}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue