Skip to content

Commit

Permalink
Linux fix for fixcase.cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
valerius2k committed Apr 26, 2024
1 parent a12037c commit 2f8fa5d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/mk/port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ prep: .symbolic

patch: .symbolic
$(verbose)$(SAY) PATCH $(PORT_NAME) $(LOG)
!ifeq %HOST linux
$(verbose)if [ -f $(MYDIR)patches$(SEP)fixcase.cmd ]; then &
$(REXX) $(MYDIR)patches$(SEP)fixcase.cmd $(PORT_BASE) $(BLACKHOLE); fi
!else
$(verbose)if exist $(MYDIR)patches$(SEP)fixcase.cmd &
@$(REXX) $(MYDIR)patches$(SEP)fixcase.cmd $(PORT_BASE) $(BLACKHOLE)
@$(REXX) $(MYDIR)patches$(SEP)fixcase.cmd $(PORT_BASE) $(BLACKHOLE)
!endif
!ifeq %HOST win32
$(verbose)$(MDHIER) $(PATH)
$(verbose)for %i in ($(PORT_PATCHES)) do $(verbose)unix2dos -q -f -n $(MYDIR)patches$(SEP)%i $(PATH)%i
Expand Down

0 comments on commit 2f8fa5d

Please sign in to comment.