aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@linaro.org>2014-07-05 14:05:57 +1200
committerMichael Hudson-Doyle <michael.hudson@linaro.org>2014-07-05 14:05:57 +1200
commit83a625fd1b9b20df6abe3f9046f031f55cc3caff (patch)
tree943ce6abc84da141a4c3d7bbedb4dad0c620031e
parent28fa78407ec77d6f7bfbd6e85005b18589255774 (diff)
avoid cute
-rwxr-xr-xin-chroot.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/in-chroot.sh b/in-chroot.sh
index 3cff085..d7a361f 100755
--- a/in-chroot.sh
+++ b/in-chroot.sh
@@ -4,4 +4,6 @@ mv /boot.script /usr/share/flash-kernel/bootscript/bootscr.xgene-mustang
apt-get install u-boot-tools
flash-kernel
sed -e 's/ttyAMA0/ttyS0/g' /etc/init/ttyAMA0.conf > /etc/init/ttyS0.conf
-[ -x /extra ] && /extra || true
+if [ -x /extra ]; then
+ /extra
+fi