wok-current diff openvas-scanner/receipt @ rev 18966
gmerlin: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 07:40:00 2016 +0100 (2016-03-11) |
parents | 380ffe05937a |
children | 0f5139046539 |
line diff
1.1 --- a/openvas-scanner/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/openvas-scanner/receipt Fri Mar 11 07:40:00 2016 +0100 1.3 @@ -39,8 +39,8 @@ 1.4 1.5 post_install() 1.6 { 1.7 - [ -s $1/var/lib/openvas/CA/cacert.pem ] || 1.8 - chroot $1/ /usr/sbin/openvas-mkcert <<EOT 1.9 + [ -s "$1/var/lib/openvas/CA/cacert.pem" ] || 1.10 + chroot "$1/" /usr/sbin/openvas-mkcert <<EOT 1.11 1.12 1.13 $(. /etc/locale.conf ; echo ${LANG#*_})