Skip to content

Commit 24e0fc0

Browse files
committed
Switch path-munge from sed to perl.
1 parent ff22bdf commit 24e0fc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ ifdef CFG_WINDOWSY
6767
CFG_LIB_NAME=$(1).dll
6868
CFG_RUN_PROGRAM=$(1)
6969

70-
CFG_PATH_MUNGE := | sed -e 's/\\\(.\)/\/\1/g'
70+
CFG_PATH_MUNGE := $(strip | perl -p \
71+
-e 's@\\(.)@/\1@go;' \
72+
-e 's@^/([a-zA-Z])/@\1:/@o;')
7173
ifdef CFG_FLEXLINK
7274
CFG_BOOT_NATIVE := 1
7375
endif

0 commit comments

Comments
 (0)