X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=install-symlinks.sh;h=d381326bc98d371fe026788dbd2d6183025a7773;hb=61852109dda87bc5656b4319d13219197a29578f;hp=41bda44f2b8504add2cdc3997999c67cd3737a2c;hpb=993671d30b462c6ce8158e690087efa37c02b7da;p=cmccabe-etc diff --git a/install-symlinks.sh b/install-symlinks.sh index 41bda44..d381326 100755 --- a/install-symlinks.sh +++ b/install-symlinks.sh @@ -15,8 +15,7 @@ die() { exit 1 } -FULLPATH=`readlink -f $0` -BASEDIR=`dirname ${FULLPATH}` +BASEDIR=`pwd` for file in ${BASEDIR}/.[^.]*; do # get base file name, like ".gitconfig" basefile=`basename ${file}`