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