Skip to content

Commit

Permalink
Fix unix_setup script setting SDL prefix two dirs too high
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Aug 11, 2024
1 parent 8d4727b commit f51d0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mkdir build
cd build || (printf "\033[31mError: SDL2-2.30.6/build folder not found.\033[0m\n" && exit 1)

printf "\033[32minfo \033[0m Configuring SDL2 to prepare build...\n"
if ! output=$(../configure --prefix="$(cd ../../ && pwd)/../../sdl2_local" 2>&1); then
if ! output=$(../configure --prefix="$(cd ../../ && pwd)/sdl2_local" 2>&1); then
printf "\033[31mError configuring SDL2. Check sdl_build_log.txt for more information.\033[0m\n"
echo "$output" >> sdl_build_log.txt
exit 1
Expand Down

0 comments on commit f51d0ea

Please sign in to comment.