Bug#807353: controlling error handling in sourced shell code

2015-12-21 Thread Paul Gevers
control: tags -1 -help On 20-12-15 15:03, Paul Gevers wrote: > I am looking into fixing bug 807353¹ against my package dbconfig-common. > dbconfig-common is written in shell, such that it can easily be sourced > and used in maintainer scripts. The issue is that when you call a > sourced function

Bug#807353: controlling error handling in sourced shell code

2015-12-20 Thread Paul Gevers
control: tags -1 help Hi all, I am looking into fixing bug 807353¹ against my package dbconfig-common. dbconfig-common is written in shell, such that it can easily be sourced and used in maintainer scripts. The issue is that when you call a sourced function in the test part of an if-then-fi