scripts: enable linker debugging when running in debug mode
This commit is contained in:
parent
0160df0b32
commit
7b10faf47a
3 changed files with 10 additions and 9 deletions
8
snap/hooks/configure
vendored
8
snap/hooks/configure
vendored
|
|
@ -1,9 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$(snapctl get debug.enable)" = true ]; then
|
||||
touch "$SNAP_COMMON"/.enable_debug
|
||||
else
|
||||
rm -f "$SNAP_COMMON"/.enable_debug
|
||||
fi
|
||||
# We need to have something for snapd in place in order to
|
||||
# allow configuration options for our snap even if the items
|
||||
# are read via snapctl elsewhere in the code.
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue