mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
setup script ln fix
This commit is contained in:
@@ -24,10 +24,9 @@ makeNextSubmodule() {
|
|||||||
npm run export || exit 1
|
npm run export || exit 1
|
||||||
npx --yes next telemetry disable
|
npx --yes next telemetry disable
|
||||||
cd "${baseDir}" || exit 1
|
cd "${baseDir}" || exit 1
|
||||||
# TODO: check if link exists
|
|
||||||
linkTarget="$PWD/nextStatic/${2}"
|
linkTarget="$PWD/nextStatic/${2}"
|
||||||
if [ ! -f "${linkTarget}" ]; then
|
if [ ! -e "${linkTarget}" ]; then
|
||||||
ln -sf "$PWD/submodules/${1}/out" "${linkTarget}"
|
ln -sfv "$PWD/submodules/${1}/out" "${linkTarget}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user