LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1508|回复: 0

安装progress出错,说文件找不到,但这些文件都有在同一文件的

[复制链接]
发表于 2008-5-3 00:49:38 | 显示全部楼层 |阅读模式
安装的文件内容是#assign args if they exist opton1=$1
opton2=$2
opton3=$3
opton4=$4
opton5=$5
#set home location
home='pwd';export home
mountdir ='dirname$0';export mountdir
cfg_filg='ks $mountdir/*.cfg|head-1'
if["$mountdir"="."]
then
echo"yuo may run this installation from $home,chanege to another"
echo"directory and type $home/proinst to start the installation"
elif[-f*.cfg]
then

echo"a version of "ls *.cfg has been detected in your current"
echo"working directory.you may not run this installation from a "
echo"directory containing a progress installation.change to another"
echo"directory and type $mountdir/proinst to start the installation"
exit
else
cp $mountdir/proinst.
cp $mountdir/_ovrly.
cp $mountdir/install.tab
出错提示:ls $mountdir/*.cfg|head -1  cp :无法stat '/home/syb/openedge/proinst"没有那个文件或目录
cp:无法stat '/home/syb/openedge/_overly"没有那个文件或目录
说文件找一到。但这些文件都在同一文件夹里
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表