Skip to content
Browse files

Do not copy /* if PKGFILES is not defined

  • Loading branch information...
1 parent 396b343 commit 9f0bc0046729d88555e3ce9f81223fd5a4f6a94f @drizzt drizzt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 rules/ppu.mk
View
2 rules/ppu.mk
@@ -53,7 +53,7 @@ LDFLAGS := -B$(PSL1GHT)/target/lib \
@cp $(ICON0) $(BUILDDIR)/pkg/
@$(SELF_NPDRM) $(BUILDDIR)/$(basename $(notdir $<)).elf $(BUILDDIR)/pkg/USRDIR/EBOOT.BIN $(CONTENTID) >> /dev/null
@$(SFO) --title "$(TITLE)" --appid "$(APPID)" -f $(SFOXML) $(BUILDDIR)/pkg/PARAM.SFO
- @if test -n $(PKGFILES) -a -d $(PKGFILES); then cp -rf $(PKGFILES)/* $(BUILDDIR)/pkg/; fi
+ @if test -n "$(PKGFILES)" -a -d "$(PKGFILES)"; then cp -rf $(PKGFILES)/* $(BUILDDIR)/pkg/; fi
@$(PKG) --contentid $(CONTENTID) $(BUILDDIR)/pkg/ $@ >> /dev/null
@echo "[PKG] $(basename $(notdir $@)).geohot.pkg"
@cp $@ $(basename $@).geohot.pkg

0 comments on commit 9f0bc00

Please sign in to comment.
Something went wrong with that request. Please try again.