projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(J90-7152): Unify JIS X 0208:1978 and 1983 code points.
[chise/xemacs-chise.git]
/
etc
/
check_cygwin_setup.sh
diff --git
a/etc/check_cygwin_setup.sh
b/etc/check_cygwin_setup.sh
index
f569562
..
8c24ce9
100644
(file)
--- a/
etc/check_cygwin_setup.sh
+++ b/
etc/check_cygwin_setup.sh
@@
-23,17
+23,17
@@
fi
OSversion="`uname -v | sed 's/^\(.\).*$/\1/'`"
shell=`type sh | sed 's/sh is //'`
OSversion="`uname -v | sed 's/^\(.\).*$/\1/'`"
shell=`type sh | sed 's/sh is //'`
-distdir=`dirname $shell`
+distdir=`dirname $shell | sed 's!^//\(.\)/\(.*\)!\1:/\2!'`
echo "cygwin installed in $distdir"
echo "checking paths ..."
if [ ! -d "/bin" ]; then
echo "cygwin installed in $distdir"
echo "checking paths ..."
if [ ! -d "/bin" ]; then
- echo "You don't have /bin would like to mount cygwin as /bin ?"
+ echo "You don't have a /bin directory. Would you like to mount cygwin as /bin ?"
if yorn; then
mkdir /bin
if yorn; then
mkdir /bin
- mount -b /bin $distdir
+ mount -b $distdir /bin
fi
elif [ "$distdir" != "/bin" ]; then
echo "Warning: you have /bin but it's not the cygwin installation."
fi
elif [ "$distdir" != "/bin" ]; then
echo "Warning: you have /bin but it's not the cygwin installation."