Hello,
in the cryptsetup init and cryptdists_{start|stop} scripts we use some
shell magic with set -e, while read ... done and input/output
redirection. i have to admit that this magic demonstrated me the limits
of my shell scripting skills.
the code in question is:
set -e
...
egrep -v "^[[:spac
Le Sun, Jul 19, 2009 at 12:09:32AM +0200, Jeffrey Ratcliffe a écrit :
> 2009/7/18 Charles Plessy :
> > I found some issues in the latest version of your package:
> >
> > - The build target can not been invoked twice in a row because of the mv
> > commands (you know what to do, you did it right f
In <20090719114552.ga15...@resivo.wgnet.de>, Jonas Meurer wrote:
>so second thought was to use return codes inside the while loop and
>check for them after the while loop. but that failed due to 'set -e'
>being set. therefore any return code != 0 caused the script to stop
>immediately instead of ju
Hello,
On 19/07/2009 Chow Loong Jin wrote:
> On Sunday 19,July,2009 07:45 PM, Jonas Meurer wrote:
> > so the script needs to be changed to exit the while loop with
> > information about whether
> > - the target was found in crypttab
> You already have that information. In the snippet of code:
>
On 19/07/2009 Boyd Stephen Smith Jr. wrote:
> In <20090719114552.ga15...@resivo.wgnet.de>, Jonas Meurer wrote:
> >so second thought was to use return codes inside the while loop and
> >check for them after the while loop. but that failed due to 'set -e'
> >being set. therefore any return code != 0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear mentors,
I am looking for a sponsor for my package "gcontactsync".
* Package name: gcontactsync
Version : 0.2.5-1
Upstream Author : Josh Geenen
* URL : http://gcontactsync.mozdev.org/
* License : MPL-1.1 | GP
6 matches
Mail list logo