wok-next diff ptxdist/receipt @ rev 18730
Quote root dir in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 20 15:13:45 2015 +0100 (2015-12-20) |
parents | dfef8de3d270 |
children | 6c12ac1293fc |
line diff
1.1 --- a/ptxdist/receipt Fri Jan 30 10:17:37 2015 +0100 1.2 +++ b/ptxdist/receipt Sun Dec 20 15:13:45 2015 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - [ -L $1/usr/bin/wget ] && tazpkg get-install wget --forced --root=${1:-/} 1.8 + [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}" 1.9 cat <<EOT 1.10 Now you can do: 1.11 $ cd /usr/lib/buildroot