wok-current diff ptxdist/receipt @ rev 18554
sdft: fix fail when '/' in Name
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 08 01:21:45 2015 +0200 (2015-11-08) |
parents | 7896f0694ef6 |
children | 9e01bc6321ea |
line diff
1.1 --- a/ptxdist/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/ptxdist/receipt Sun Nov 08 01:21:45 2015 +0200 1.3 @@ -23,7 +23,7 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 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