Skip to content

Commit

Permalink
have riak-cs-debug write outfile to /home/dev/src/riak_cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Zavada committed Aug 24, 2023
1 parent 7c66636 commit 2473537
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rel/files/riak-cs-debug
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ EOF
exit
}

curdir=`pwd`
cd "$PLATFORM_BASE_DIR"

gen_result=`"{{platform_bin_dir}}"/riak-cs-chkconfig | grep -v "OK"`
Expand Down Expand Up @@ -367,7 +368,7 @@ fi

if [ -z "$outfile" ]; then
# If output file not specified, output to the default
outfile="`pwd`"/"${debug_dir}".tar.gz
outfile="${curdir}"/"${debug_dir}".tar.gz
fi

if [ '-' != "$outfile" ] && [ -f "$outfile" ]; then
Expand Down

0 comments on commit 2473537

Please sign in to comment.