我正在构建一个外壳脚本,它具有如下所示的if
函数:
if jarsigner -verbose -keystore $keyst -keystore $pass $jar_file $kalias
then
echo $jar_file signed sucessfully
else
echo ERROR: Failed to sign $jar_file. Please recheck the variables
fi
...
我希望在显示错误消息后完成脚本的执行。我怎么能做到这一点?
https://stackoverflow.com/questions/4381618
复制相似问题