Skip to content

Commit 5ce4c5e

Browse files
committed
setup.sh: Double quote file to find argument
1 parent 072b97d commit 5ce4c5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ $GNUMAKE clean --silent
1616

1717
echo "Libraries:"
1818

19-
if [ -f $PS2SDK/ports/include/jpeglib.h ];
19+
if [ -f "$PS2SDK/ports/include/jpeglib.h" ];
2020
then
2121
echo -e "\tLIBJPEG detected."
2222
export LIBJPEG=$PS2SDK/ports
2323
else
2424
echo -e "\tLIBJPEG not detected."
2525
fi
2626

27-
if [ -f $PS2SDK/ports/include/png.h ];
27+
if [ -f "$PS2SDK/ports/include/png.h" ];
2828
then
2929
echo -e "\tLIBPNG detected."
3030
export LIBPNG=$PS2SDK/ports
3131
else
3232
echo -e "\tLIBPNG not detected."
3333
fi
3434

35-
if [ -f $PS2SDK/ports/include/zlib.h ];
35+
if [ -f "$PS2SDK/ports/include/zlib.h" ];
3636
then
3737
echo -e "\tZLIB detected."
3838
export ZLIB=$PS2SDK/ports
3939
else
4040
echo -e "\tZLIB not detected."
4141
fi
4242

43-
if [ -f $PS2SDK/ports/include/tiff.h ];
43+
if [ -f "$PS2SDK/ports/include/tiff.h" ];
4444
then
4545
echo -e "\tLIBTIFF detected."
4646
export LIBTIFF=$PS2SDK/ports

0 commit comments

Comments
 (0)