Skip to content
Open
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: 2 additions & 2 deletions MaxKernel/prepare_hitl_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ prompt_env_vars() {

# WORKDIR
if [ -z "$WORKDIR" ]; then
echo -n "Enter your WORKDIR (default: $(pwd)): "
echo -n "Enter your WORKDIR (default: $(pwd)/artifacts): "
read -r WORKDIR_INPUT
if [ -z "$WORKDIR_INPUT" ]; then
WORKDIR="$(pwd)"
WORKDIR="$(pwd)/artifacts"
else
# Strip quotes and whitespace
WORKDIR=$(echo "$WORKDIR_INPUT" | sed -e "s/^['\"]*//" -e "s/['\"]*$//" -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*$//g')
Expand Down