mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Add a comment on the string substitution formula
This commit is contained in:
parent
c2ae78d4db
commit
d3d545e0c3
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@
|
|||
# Note that you MUST use "source" in order to run the script in the same process as the calling
|
||||
# script, allowing fill_packaging_opts.sh to fill variables for the caller.
|
||||
|
||||
# Input: "/absolute/path/src/server_manager/electron_app/something_action.sh"
|
||||
# Output: "yarn do server_manager/electron_app/something"
|
||||
readonly ELECTRON_PATH='server_manager/electron_app/'
|
||||
readonly RELATIVE="${1#*/src/${ELECTRON_PATH}}"
|
||||
readonly YARN_COMMAND="yarn do ${ELECTRON_PATH}${RELATIVE%_action.sh}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue