Skip to content

Commit

Permalink
fix redirects on curl
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahwinsley committed Dec 5, 2021
1 parent 5a3f7bb commit 9b6e981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/dist/startserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
wget -O serverstarter-@@serverstarter-libVersion@@.jar "${URL}"
elif command -v curl &> /dev/null; then
echo "DEBUG: (curl) Downloading ${URL}"
curl -o serverstarter-@@serverstarter-libVersion@@.jar "${URL}"
curl -L -o serverstarter-@@serverstarter-libVersion@@.jar "${URL}"
else
echo "Neither wget or curl were found on your system. Please install one and try again"
exit 1
Expand Down

0 comments on commit 9b6e981

Please sign in to comment.