|
安装的文件内容是#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"没有那个文件或目录
说文件找一到。但这些文件都在同一文件夹里 |
|