Skip to content

Commit

Permalink
Follow symlinks when searching for reaper jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 authored and adejanovski committed May 4, 2020
1 parent 6bddbfc commit 64bf301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/bin/cassandra-reaper
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi

if [ -z "$CLASS_PATH" ]; then
echo "Looking for reaper in /usr/local/share/"
CLASS_PATH="$(find /usr/local/share -maxdepth 4 -regex '.*/cassandra-reaper-.*[0-9rT]\.jar'):$(find /usr/share -regex '.*/cassandra-reaper-.*[0-9rT]\.jar')"
CLASS_PATH="$(find -L /usr/local/share -maxdepth 4 -regex '.*/cassandra-reaper-.*[0-9rT]\.jar'):$(find -L /usr/share -maxdepth 4 -regex '.*/cassandra-reaper-.*[0-9rT]\.jar')"
fi

if [ $# -eq 0 ]; then
Expand Down

0 comments on commit 64bf301

Please sign in to comment.