summaryrefslogtreecommitdiff
path: root/build-aux/msys-to-w32
diff options
context:
space:
mode:
authorDani Moncayo <dmoncayo@gmail.com>2014-11-19 21:15:32 +0100
committerDani Moncayo <dmoncayo@gmail.com>2014-11-19 21:15:32 +0100
commitf5d77aafa9d59c4afb13d744e67a0e4daf3be31a (patch)
tree3d97e3a9e8d993d0df51e7867fbc7a809f131572 /build-aux/msys-to-w32
parentf437176169cf1722f99938845c35eb40bf139b2d (diff)
downloademacs-f5d77aafa9d59c4afb13d744e67a0e4daf3be31a.tar.gz
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.
Diffstat (limited to 'build-aux/msys-to-w32')
-rwxr-xr-xbuild-aux/msys-to-w3214
1 files changed, 2 insertions, 12 deletions
diff --git a/build-aux/msys-to-w32 b/build-aux/msys-to-w32
index f8c37222889..f0fd61d823f 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" ]