Browse files

Do not copy /* if PKGFILES is not defined

  • Loading branch information...
drizzt committed Apr 6, 2011
1 parent 396b343 commit 9f0bc0046729d88555e3ce9f81223fd5a4f6a94f
Showing with 1 addition and 1 deletion.
  1. +1 −1 rules/
@@ -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.