#!/bin/sh touch ../config.status 2>/dev/null if [ $? != 0 ]; then echo Make sure parent directory is writeable. echo You can fix this by e.g. echo (cd ../ && tar cf - examples) | (cd $HOME && tar xf -) exit $? else chmod +x ../config.status for f in Makefile.{common,config,rules}; do ln -sf LIBDIR/llvm/build/$f .. done make $@ fi