代码
if [ $setup==="y" ]
then
echo "kurulum:"$setup
exit
full_dir=$full_dir"/public"
else
echo "Sub-Public folder is exist? [public,web]"
read folder_extend
if [ $folder_extend ]
then
full_dir=$full_dir"/"$folder_extend
fi
fi
运行 sh 后将参数 $setup 视图设置为“n”,但仍然条件先部分运行。哪里错码了?
谢谢。