Skip to content

Commit

Permalink
Fix build scripts 2
Browse files Browse the repository at this point in the history
  • Loading branch information
justin025 committed Oct 6, 2024
1 parent d70b7c2 commit 63f0f7f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FOLDER_NAME=$(basename "$PWD")
if [ "$FOLDER_NAME" == "scripts" ]; then
echo "You are in the scripts folder. Changing to the parent directory..."
cd ..
elif [ "$FOLDER_NAME" != "OnTheSpot" ]; then
elif [ "$FOLDER_NAME" != "onthespot" ]; then
echo "Make sure that you are inside the project folder. Current folder is: $FOLDER_NAME"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FOLDER_NAME=$(basename "$PWD")
if [ "$FOLDER_NAME" == "scripts" ]; then
echo "You are in the scripts folder. Changing to the parent directory..."
cd ..
elif [ "$FOLDER_NAME" != "OnTheSpot" ]; then
elif [ "$FOLDER_NAME" != "onthespot" ]; then
echo "Make sure that you are inside the project folder. Current folder is: $FOLDER_NAME"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FOLDER_NAME=$(basename "$PWD")
if [ "$FOLDER_NAME" == "scripts" ]; then
echo "You are in the scripts folder. Changing to the parent directory..."
cd ..
elif [ "$FOLDER_NAME" != "OnTheSpot" ]; then
elif [ "$FOLDER_NAME" != "onthespot" ]; then
echo "Make sure that you are inside the project folder. Current folder is: $FOLDER_NAME"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ for %%F in ("%cd%") do set FOLDER_NAME=%%~nxF
if /i "%FOLDER_NAME%"=="scripts" (
echo You are in the scripts folder. Changing to the parent directory...
cd ..
) else if /i not "%FOLDER_NAME%"=="OnTheSpot" (
) else if /i not "%FOLDER_NAME%"=="onthespot" (
echo Make sure that you are inside the project folder. Current folder is: %FOLDER_NAME%
timeout /t 10 >nul
exit /b 1
Expand Down

0 comments on commit 63f0f7f

Please sign in to comment.