Commit 1620b350 authored by Haelwenn's avatar Haelwenn

Merge branch 'bugfix/build-sh-missing-directory' into 'rebase/glitch-soc'

Bugfix: use TARGET env variable and check it

See merge request pleroma/mastofe!17
parents 201f8d89 dd619808
TARGET="../pleroma" # Where pleroma’s repository is sitting
TARGET="${TARGET:-../pleroma}" # Where pleroma’s repository is sitting
if [[ ! -d "${TARGET}/priv/static" ]]
echo "Error: ${TARGET}/priv/static directory is missing, are you sure TARGET is set to a pleroma repository?"
echo "Info: TARGET=${TARGET}"
exit 1
yarn install -D
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment