]> git.wh0rd.org Git - home.git/commitdiff
use cros_sdk since we chdir to the right place
authorMike Frysinger <vapier@gentoo.org>
Sat, 10 Mar 2012 19:53:01 +0000 (14:53 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:44 +0000 (15:36 -0400)
.bin/cros-setup-chroot

index 27d9ee446947bf685be2f04a85c297e4ead1c0ef..ec9d58264cc8d82b0aaf0807b7087744509dd8e7 100755 (executable)
@@ -29,6 +29,6 @@ pkgs=()
 [[ -x ${chr}/usr/bin/tree ]] || pkgs+=( app-text/tree )
 [[ -L ${chr}/usr/bin/esearch ]] || pkgs+=( esearch )
 [[ -x ${chr}/usr/bin/strace ]] || pkgs+=( strace )
-[[ ${#pkgs[@]} -eq 0 ]] || cros-sdk -- sudo emerge -1 ${pkgs[@]}
+[[ ${#pkgs[@]} -eq 0 ]] || cros_sdk -- sudo emerge -1 ${pkgs[@]}
 
 sudo sed -i -e '/^# inc/s:^# *::' ${chr}/etc/nanorc