diff options
| author | Graydon Hoare <[email protected]> | 2011-03-19 18:33:16 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-19 18:34:48 -0700 |
| commit | 24e0fc071f80f5305ebc5679c8f032be88cef93a (patch) | |
| tree | 9d1e3081b35d5366065ca0f908d617de60d8519c /Makefile.in | |
| parent | Fix indentation in tidy. (diff) | |
| download | rust-24e0fc071f80f5305ebc5679c8f032be88cef93a.tar.xz rust-24e0fc071f80f5305ebc5679c8f032be88cef93a.zip | |
Switch path-munge from sed to perl.
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index f1c4ef2e..33fdcdb9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,7 +67,9 @@ ifdef CFG_WINDOWSY CFG_LIB_NAME=$(1).dll CFG_RUN_PROGRAM=$(1) - CFG_PATH_MUNGE := | sed -e 's/\\\(.\)/\/\1/g' + CFG_PATH_MUNGE := $(strip | perl -p \ + -e 's@\\(.)@/\1@go;' \ + -e 's@^/([a-zA-Z])/@\1:/@o;') ifdef CFG_FLEXLINK CFG_BOOT_NATIVE := 1 endif |