Skip to content
Snippets Groups Projects
Commit 1620b350 authored by Haelwenn's avatar Haelwenn
Browse files

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

Bugfix: build.sh: use TARGET env variable and check it

See merge request !17
parents 201f8d89 dd619808
Branches
Tags
2 merge requests!23bundle-2019-03-07,!17Bugfix: build.sh: use TARGET env variable and check it
Pipeline #8669 passed
#!/bin/sh
TARGET="../pleroma" # Where pleroma’s repository is sitting
TARGET="${TARGET:-../pleroma}" # Where pleroma’s repository is sitting
if [[ ! -d "${TARGET}/priv/static" ]]
then
echo "Error: ${TARGET}/priv/static directory is missing, are you sure TARGET is set to a pleroma repository?"
echo "Info: TARGET=${TARGET}"
exit 1
fi
yarn install -D
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment