# Copyright (C) Earnie Boyd <earnie@users.sf.net>
# This file is a part of msysDVLPR.
# http://www.mingw.org/msysdvlpr.shmtl
#
echo
echo "This is a post install process that will try to normalize between"
echo "your MinGW install if any as well as your previous MSYS installs "
echo "if any. I don't have any traps as aborts will not hurt anything."
echo -n "Do you wish to continue with the post install? [yn ] "; read ans
if [ $ans == 'n' ]; then exit 1; fi
. /etc/profile
echo
echo -n "Do you have MinGW installed? [yn ] "; read ans
if [ $ans == y ]
then
echo
echo "Please answer the following in the form of c:/foo/bar."
echo -n "Where is your MinGW installation? "; read ans
if [ -f $ans/bin/gcc.exe ]
then
mingwpath=$ans
else
mingwpath=
fi
if [ -z "$mingwpath" ]
then
echo
echo I could not find $ans/bin/gcc.exe. You must have given an invalid
echo path to your MinGW environment. I am reversing to no MinGW
echo installation. If you do have MinGW installed then you can manually
echo bind the mount point /mingw to C:/mingw '('replace C: with the
echo drive of your choice')' by creating an /etc/fstab file with a line
echo that has a value similar to:
echo C:/mingw /mingw
echo -n Press ENTER to continue; read ans
fi
else
mingwpath=
echo
echo "When you install MinGW I suggest you install it to C:/mingw"
echo '(replace C: with the drive of your choice). Then create an'
echo '/etc/fstab file with a line that has a value similar to:'
echo 'C:/mingw /mingw'
echo -n 'Press ENTER to continue '; read ans
fi
if [ ! -z "$mingwpath" ]
then
if [ -f /etc/fstab ]
then
echo
echo "I see that you already have an /etc/fstab file. Do you wish for me"
echo -n "to add mount bindings for $mingwpath to /mingw? [yn ]"; read ans
if [ $ans == 'y' ]
then
cat <<EOF>>/etc/fstab
$mingwpath /mingw
EOF
fi
else
echo
echo -n "Creating /etc/fstab with mingw mount bindings."
cat <<EOF>/etc/fstab
$mingwpath /mingw
EOF
fi
fi
echo
echo " Normalizing your MSYS environment."
echo
for I in awk cmd echo egrep ex fgrep printf pwd rvi rview rvim vi view
do
if [ -f /bin/$I. ]
then
echo You have script /bin/$I
if [ -f /bin/$I.exe ]
then
echo Removing /bin/$I.exe
rm -f /bin/$I.exe
fi
fi
done
for I in ftp ln make
do
if [ -f /bin/$I.exe ] && [ -f /bin/$I. ]
then
echo You have both /bin/$I.exe and /bin/$I.
echo Removing /bin/$I.
rm -f /bin/$I.
fi
done
if [ -z "$mingwpath" ]
then
echo
echo MinGW-1.1 has a version of make.exe within it\'s bin/ directory.
echo Please be sure to rename this file to mingw32-make.exe once you've
echo installed MinGW-1.1 because it\'s very deficient in function.
echo -n Press ENTER to continue. ; read ans
else
if [ -f $mingwpath/bin/make.exe ]
then
echo
echo Renaming $mingwpath/bin/make.exe to mingw32-make.exe.
mv $mingwpath/bin/make.exe $mingwpath/bin/mingw32-make.exe
else
echo
echo Oh joy, you do not have $mingwpath/bin/make.exe. Keep it that way.
fi
fi
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
MSYS 1.0.11 最新打包 (109个子文件)
awk 162B
msys.bat 7KB
pi.bat 48B
bunzip2 180B
cls 209B
clsb 220B
cmd 206B
COPYING 18KB
CYGWIN_LICENSE 2KB
inputrc.default 1KB
msys-1.0.dll 717KB
msys-bz2-1.dll 58KB
libW11.dll 48KB
echo 163B
egrep 167B
bash.exe 890KB
sh.exe 890KB
tar.exe 302KB
gawk.exe 274KB
makeinfo.exe 219KB
rxvt.exe 207KB
lzma.exe 186KB
less.exe 154KB
make.exe 152KB
info.exe 151KB
find.exe 125KB
m4.exe 123KB
diff.exe 98KB
ls.exe 87KB
expr.exe 78KB
grep.exe 77KB
file.exe 76KB
patch.exe 74KB
mv.exe 60KB
install.exe 58KB
cp.exe 52KB
gzip.exe 51KB
date.exe 50KB
sed.exe 48KB
sort.exe 48KB
stty.exe 44KB
tail.exe 39KB
od.exe 39KB
touch.exe 38KB
rm.exe 38KB
ps.exe 33KB
tr.exe 33KB
md5sum.exe 32KB
chmod.exe 32KB
bzip2.exe 30KB
msysmnt.exe 29KB
split.exe 29KB
install-info.exe 28KB
head.exe 28KB
mkdir.exe 27KB
ln.exe 27KB
cut.exe 26KB
xargs.exe 25KB
uniq.exe 24KB
diff3.exe 23KB
cmp.exe 22KB
wc.exe 21KB
infokey.exe 20KB
id.exe 20KB
cat.exe 19KB
fold.exe 19KB
comm.exe 19KB
sleep.exe 18KB
uname.exe 18KB
tee.exe 17KB
rmdir.exe 17KB
basename.exe 17KB
dirname.exe 17KB
env.exe 16KB
texindex.exe 12KB
false.exe 11KB
true.exe 11KB
fgrep 167B
ftp 186B
gunzip 178B
msys.ico 37KB
m.ico 2KB
COPYING.LIB 25KB
lnkcnv 481B
magic 418KB
patch.exe.manifest 378B
install.exe.manifest 378B
magic.mgc 907KB
magic.mime.mgc 43KB
magic.mime 30KB
mount 5KB
MSYS_MISSION 582B
MSYS_VS_CYGWIN 4KB
msysinfo 1KB
printf 167B
profile 1KB
pwd 161B
README.rtf 9KB
MSYS-1.0.11-changes.rtf 5KB
MSYS_LICENSE.rtf 2KB
共 109 条
- 1
- 2
oldcatredhat
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于javaweb的网上拍卖系统,采用Spring + SpringMvc+Mysql + Hibernate+ JSP技术
- polygon-mumbai
- Chrome代理 switchyOmega
- GVC-全球价值链参与地位指数,基于ICIO表,(Wang等 2017a)计算方法
- 易语言ADS指纹浏览器管理工具
- 易语言奇易模块5.3.6
- cad定制家具平面图工具-(FG)门板覆盖柜体
- asp.net 原生js代码及HTML实现多文件分片上传功能(自定义上传文件大小、文件上传类型)
- whl@pip install pyaudio ERROR: Failed building wheel for pyaudio
- Constantsfd密钥和权限集合.kt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页