Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: shell script relative paths #237

Open
wants to merge 1 commit into
base: v2.x/staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/app-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ then
#dev env or backwards compat, do late configure
# should we also export ZWE_zowe_workspaceDirectory=~/.zowe/zowe.yaml?
# potentially zowe.yaml in there could point workspaceDirectory elsewhere to cause further confusion
. ./init/workspace-init.sh
cd init
. ./workspace-init.sh
cd ..
CONFIG_FILE=~/.zowe/zowe.yaml
fi

Expand Down
2 changes: 1 addition & 1 deletion bin/init/workspace-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ else
export ZWE_zowe_logDirectory="${HOME}/.zowe/logs"
fi
mkdir -p ${ZWE_zowe_logDirectory}
cd ../../lib
cd ../lib
__UNTAGGED_READ_MODE=V6 $NODE_BIN initInstance.js
export CONFIG_FILE="${HOME}/.zowe/workspace/app-server/serverConfig/zowe.yaml"
fi