mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-09 00:15:13 -04:00
Show current work directory.
This commit is contained in:
parent
17de854fce
commit
923b737b3b
1 changed files with 1 additions and 4 deletions
|
@ -18,7 +18,7 @@ try cd "${0%/*}"
|
||||||
workdir=$(try git rev-parse --show-toplevel) || exit 1
|
workdir=$(try git rev-parse --show-toplevel) || exit 1
|
||||||
try cd "${workdir}"
|
try cd "${workdir}"
|
||||||
[ -f src/package.json ] || fatal "failed to cd to etherpad root directory"
|
[ -f src/package.json ] || fatal "failed to cd to etherpad root directory"
|
||||||
|
ls -lisa
|
||||||
# See https://github.com/msys2/MSYS2-packages/issues/1216
|
# See https://github.com/msys2/MSYS2-packages/issues/1216
|
||||||
export MSYS=winsymlinks:lnk
|
export MSYS=winsymlinks:lnk
|
||||||
|
|
||||||
|
@ -28,9 +28,6 @@ TMP_FOLDER=$(try mktemp -d) || exit 1
|
||||||
trap 'exit 1' HUP INT TERM
|
trap 'exit 1' HUP INT TERM
|
||||||
trap 'log "cleaning up..."; try cd / && try rm -rf "${TMP_FOLDER}"' EXIT
|
trap 'log "cleaning up..."; try cd / && try rm -rf "${TMP_FOLDER}"' EXIT
|
||||||
|
|
||||||
try mkdir "${TMP_FOLDER}"/tests
|
|
||||||
try mkdir "${TMP_FOLDER}"/node_modules
|
|
||||||
|
|
||||||
log "create a clean environment in $TMP_FOLDER..."
|
log "create a clean environment in $TMP_FOLDER..."
|
||||||
try git archive --format=tar HEAD | (try cd "${TMP_FOLDER}" && ls -lisa && try tar xf -) \
|
try git archive --format=tar HEAD | (try cd "${TMP_FOLDER}" && ls -lisa && try tar xf -) \
|
||||||
|| fatal "failed to copy etherpad to temporary folder"
|
|| fatal "failed to copy etherpad to temporary folder"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue