#!/bin/sh # Unpack prisine Redboot echo "tar.." tar -xjf ecos-trunk-080727.tar.bz2 if [ $? -ne 0 ]; then echo "tar failed" exit -1 fi # Apply quilt cd ecos ln -s ../patches echo "quilt.." quilt push -a if [ $? -ne 0 ]; then echo "quilt push failed" exit -1 fi echo "done!"