Improve generated AppRun script

This commit is contained in:
TheAssassin
2019-08-14 14:36:06 +02:00
parent 72e4fb49e0
commit 8e9114b7c5

View File

@@ -178,6 +178,9 @@ namespace linuxdeploy {
<< std::endl
<< "# autogenerated by linuxdeploy" << std::endl
<< std::endl
<< "# make sure errors in sourced scripts will cause this script to stop" << std::endl
<< "set -e" << std::endl
<< std::endl
<< "this_dir=$(readlink -f $(dirname \"$0\"))" << std::endl
<< std::endl;