File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,8 +169,8 @@ function setUpInterfacesAndLibraries()
169169 sh " $SRC /prepare-headers.sh" " $CINCLUDES " " $PREFIX /CIncludes"
170170
171171 echo " Preparing RIncludes..."
172- rm -rf " $PREFIX /RIncludes"
173- mkdir " $PREFIX /RIncludes"
172+ mkdir -p " $PREFIX /RIncludes"
173+ find " $PREFIX /RIncludes" ! -name ' Retro*.r ' -type f -exec rm -f {} \;
174174 sh " $SRC /prepare-rincludes.sh" " $RINCLUDES " " $PREFIX /RIncludes"
175175
176176 echo " Creating Symlinks for CIncludes and RIncludes..."
@@ -265,7 +265,7 @@ function removeInterfacesAndLibraries()
265265 rm " $PREFIX /m68k-apple-macos/RIncludes"
266266 rm " $PREFIX /powerpc-apple-macos/RIncludes"
267267 rm -rf " $PREFIX /CIncludes"
268- rm -rf " $PREFIX /RIncludes"
268+ find " $PREFIX /RIncludes" ! -name ' Retro*.r ' -type f -exec rm -f {} \;
269269 rm " $FILE_LIST "
270270 rm " $PREFIX /include/PEFBinaryFormat.h"
271271 fi
You can’t perform that action at this time.
0 commit comments