[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 01/01: build-aux/msys-to-w32: Simplify implementati
From: |
Dani Moncayo |
Subject: |
[Emacs-diffs] master 01/01: build-aux/msys-to-w32: Simplify implementation and docstring. |
Date: |
Wed, 19 Nov 2014 20:16:03 +0000 |
branch: master
commit f5d77aafa9d59c4afb13d744e67a0e4daf3be31a
Author: Dani Moncayo <address@hidden>
Date: Wed Nov 19 21:15:32 2014 +0100
build-aux/msys-to-w32: Simplify implementation and docstring.
* build-aux/msys-to-w32: Simplify implementation and docstring;
Paths starting with '%emacs_dir%' are just considered relative.
---
ChangeLog | 5 +++++
build-aux/msys-to-w32 | 14 ++------------
2 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ed97875..749c020 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-19 Dani Moncayo <address@hidden>
+
+ * build-aux/msys-to-w32: Simplify implementation and docstring;
+ Paths starting with '%emacs_dir%' are just considered relative.
+
2014-11-16 Christoph Scholtes <address@hidden>
* .gitignore: Ignore generated file lib/stdalign.h.
diff --git a/build-aux/msys-to-w32 b/build-aux/msys-to-w32
index f8c3722..f0fd61d 100755
--- a/build-aux/msys-to-w32
+++ b/build-aux/msys-to-w32
@@ -32,14 +32,7 @@ written to the standard output after performing these
transformations:
1. Discard empty paths.
2. Replace: '\' with '/', '//' with '/' and ':' with ';'.
-3. Translate each path to Windows-native format.
-
-Relative paths or paths starting with '%emacs_dir%' will be passed
-verbatim to the standard output.
-
-Each non existing absolute path will be translated by looking for its
-deepest existing directory, which will be translated and the remainder
-appended.
+3. Translate absolute paths to Windows-native format.
Options:
--help display this help and exit
@@ -78,10 +71,7 @@ for p
do
[ -z "$p" ] && continue
- if [ "${p:0:11}" = "%emacs_dir%" ]
- then
- w32p=$p
- elif [ "${p:0:1}" != "/" ]
+ if [ "${p:0:1}" != "/" ]
then
w32p=$p
elif [ -d "$p" ]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 01/01: build-aux/msys-to-w32: Simplify implementation and docstring.,
Dani Moncayo <=