Skip to content

Commit

Permalink
Update AppRun
Browse files Browse the repository at this point in the history
  • Loading branch information
leozide committed Nov 11, 2024
1 parent c5b916e commit 0829365
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/setup/AppRun
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash -e

this_dir="\$(readlink -f "\$(dirname "\$0")")"
unset QTDIR; unset QT_PLUGIN_PATH
HERE="$(dirname "$(readlink -f "${0}")")"

# Find the system certificates location
# https://gitlab.com/probono/platformissues/blob/master/README.md#certificates
Expand All @@ -24,4 +23,4 @@ for location in "\${possible_locations[@]}"; do
fi
done

exec "\${this_dir}/usr/bin/leocad" "\$@"
exec "${HERE}/usr/bin/leocad" "$@"

0 comments on commit 0829365

Please sign in to comment.