Mercurial > hg > early-roguelike
changeset 50:c9382913d6df
rogue5: make sure SAVEDIR is a directory.
author | elwin |
---|---|
date | Mon, 10 Oct 2011 20:57:51 +0000 |
parents | 34d46b6113c7 |
children | a1dc75e38e73 |
files | rogue5/Makefile.in |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rogue5/Makefile.in Mon Oct 10 15:11:07 2011 +0000 +++ b/rogue5/Makefile.in Mon Oct 10 20:57:51 2011 +0000 @@ -201,7 +201,7 @@ -if test ! -f $(DESTDIR)$(SCOREFILE) ; then $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi -if test "x$(LOGFILE)" != "x" -a ! -f $(DESTDIR)$(LOGFILE) ; then \ $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi - -if test "x$(SAVEDIR)" != "x" -a ! -f $(DESTDIR)$(SAVEDIR) ; then \ + -if test "x$(SAVEDIR)" != "x" -a ! -d $(DESTDIR)$(SAVEDIR) ; then \ $(MKDIR) -p $(DESTDIR)$(SAVEDIR) ; fi -$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) -if test "x$(GROUPOWNER)" != "x" ; then \