]> git.proxmox.com Git - swtpm.git/commit
samples: OpenBSD scripting fixes
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 25 Aug 2018 09:06:50 +0000 (05:06 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Sun, 26 Aug 2018 20:03:52 +0000 (16:03 -0400)
commitda6ca6fab68914430d26d4303935256b63e0b60a
tree09ea6673230e2065ab75ec1861b4675bdc15e567
parentf2458ef7d692069ae3f07579c818f9440fd32403
samples: OpenBSD scripting fixes

OpenBSD uses an older sed implementation that doesn't understand the
meaning of the '+' for getting one or multiple occurrences of a letter.
Work around this by not using it and trimming white spaces at the end
of a variable using bash.

Use 100 as file descriptor rather than 200 to accomodate OpenBSD,
which only support file descriptors <= 127.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
samples/swtpm-localca