Skip to content

Commit

Permalink
Shell check install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dogo committed Jun 5, 2024
1 parent 96d5ef5 commit 7f740c1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 29 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# Ignore compiled object files
*.o

# Ignore macOS system file
.DS_Store

# Exception: Include specific image file
!samples/bkg.png

# Ignore various file types within the "samples" directory and its subdirectories
samples/**/*.elf
samples/**/*.png
samples/**/*.PBP
samples/**/*.prx
samples/**/*.SFO

# Ignore documentation directory
OSLib_MODv2_Documentation/
58 changes: 29 additions & 29 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,39 @@ echo "---------------"
echo "OSLib installer"
echo "---------------"
echo "Creating directories...."
mkdir -p $PSPSDK/include/oslib
mkdir -p $PSPSDK/include/oslib/intraFont
mkdir -p $PSPSDK/include/oslib/libpspmath
mkdir -p $PSPSDK/include/oslib/adhoc
mkdir -p "$PSPSDK"/include/oslib
mkdir -p "$PSPSDK"/include/oslib/intraFont
mkdir -p "$PSPSDK"/include/oslib/libpspmath
mkdir -p "$PSPSDK"/include/oslib/adhoc

echo "Copying lib...."
cp -f Install/libosl.a $PSPSDK/lib/
cp -f Install/libosl.a "$PSPSDK"/lib/

echo "Copying header files...."
cp -f Install/oslib/intraFont/intraFont.h $PSPSDK/include/oslib/intraFont/
cp -f Install/oslib/intraFont/libccc.h $PSPSDK/include/oslib/intraFont/
cp -f Install/oslib/libpspmath/pspmath.h $PSPSDK/include/oslib/libpspmath/
cp -f Install/oslib/adhoc/pspadhoc.h $PSPSDK/include/oslib/adhoc/
cp -f Install/oslib/oslmath.h $PSPSDK/include/oslib/
cp -f Install/oslib/net.h $PSPSDK/include/oslib/
cp -f Install/oslib/browser.h $PSPSDK/include/oslib/
cp -f Install/oslib/audio.h $PSPSDK/include/oslib/
cp -f Install/oslib/bgm.h $PSPSDK/include/oslib/
cp -f Install/oslib/dialog.h $PSPSDK/include/oslib/
cp -f Install/oslib/drawing.h $PSPSDK/include/oslib/
cp -f Install/oslib/keys.h $PSPSDK/include/oslib/
cp -f Install/oslib/map.h $PSPSDK/include/oslib/
cp -f Install/oslib/messagebox.h $PSPSDK/include/oslib/
cp -f Install/oslib/osk.h $PSPSDK/include/oslib/
cp -f Install/oslib/saveload.h $PSPSDK/include/oslib/
cp -f Install/oslib/oslib.h $PSPSDK/include/oslib/
cp -f Install/oslib/text.h $PSPSDK/include/oslib/
cp -f Install/oslib/usb.h $PSPSDK/include/oslib/
cp -f Install/oslib/vfpu_ops.h $PSPSDK/include/oslib/
cp -f Install/oslib/VirtualFile.h $PSPSDK/include/oslib/
cp -f Install/oslib/vram_mgr.h $PSPSDK/include/oslib/
cp -f Install/oslib/ccc.h $PSPSDK/include/oslib/
cp -f Install/oslib/sfont.h $PSPSDK/include/oslib/
cp -f Install/oslib/intraFont/intraFont.h "$PSPSDK"/include/oslib/intraFont/
cp -f Install/oslib/intraFont/libccc.h "$PSPSDK"/include/oslib/intraFont/
cp -f Install/oslib/libpspmath/pspmath.h "$PSPSDK"/include/oslib/libpspmath/
cp -f Install/oslib/adhoc/pspadhoc.h "$PSPSDK"/include/oslib/adhoc/
cp -f Install/oslib/oslmath.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/net.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/browser.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/audio.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/bgm.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/dialog.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/drawing.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/keys.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/map.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/messagebox.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/osk.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/saveload.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/oslib.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/text.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/usb.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/vfpu_ops.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/VirtualFile.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/vram_mgr.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/ccc.h "$PSPSDK"/include/oslib/
cp -f Install/oslib/sfont.h "$PSPSDK"/include/oslib/

echo "Done!"
echo

0 comments on commit 7f740c1

Please sign in to comment.