#!/bin/sh DIR=`pwd | sed -e 's,.*/,,'` PREFIX=`echo $DIR | sed -e 's,-.*,,'` cd ..; rm -f $PREFIX ln -s $DIR $PREFIX