Get webadmin from a level below
This commit is contained in:
@@ -43,6 +43,7 @@ bundle_dir=$(mktemp -d -t box 2>/dev/null || mktemp -d box-XXXXXXXXXX --tmpdir=$
|
|||||||
chmod "o+rx,g+rx" "${bundle_dir}" # otherwise extracted tarball director won't be readable by others/group
|
chmod "o+rx,g+rx" "${bundle_dir}" # otherwise extracted tarball director won't be readable by others/group
|
||||||
echo "Checking out code [${version}] into ${bundle_dir}"
|
echo "Checking out code [${version}] into ${bundle_dir}"
|
||||||
(cd "${SOURCE_DIR}" && git archive --format=tar ${version} | (cd "${bundle_dir}" && tar xf -))
|
(cd "${SOURCE_DIR}" && git archive --format=tar ${version} | (cd "${bundle_dir}" && tar xf -))
|
||||||
|
(cd "${SOURCE_DIR}/../webadmin" && git archive --format=tar ${version} | (cd "${bundle_dir}" && tar xf -))
|
||||||
|
|
||||||
if diff "${TMPDIR}/boxtarball.cache/package-lock.json.all" "${bundle_dir}/package-lock.json" >/dev/null 2>&1; then
|
if diff "${TMPDIR}/boxtarball.cache/package-lock.json.all" "${bundle_dir}/package-lock.json" >/dev/null 2>&1; then
|
||||||
echo "Reusing dev modules from cache"
|
echo "Reusing dev modules from cache"
|
||||||
|
|||||||
Reference in New Issue
Block a user