blob: 850d0baa861771ad0f8a9f56950d311a431ef164 (
plain)
1
2
3
4
5
6
7
8
9
10
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
set -o errexit
set -o verbose
if [ -d "${HOME}/.npm/_logs" ] && [ -n "$(ls -A "${HOME}/.npm/_logs")" ]; then
cp -r "${HOME}"/.npm/_logs "${workdir}"
rm -rf "${HOME}"/.npm/_logs/*
fi
|