X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=install-symlinks.sh;h=f922179437fe0ca0145f69c1e92e3821eb6fc49f;hb=87d1b9b9a2e878a7743995657c1fd807d634022b;hp=3588ed2e344e1110a991418bbeff214acdbc2477;hpb=a52fadc70df8054a6017d899f53a635f4fcdb82f;p=cmccabe-etc diff --git a/install-symlinks.sh b/install-symlinks.sh index 3588ed2..f922179 100755 --- a/install-symlinks.sh +++ b/install-symlinks.sh @@ -33,7 +33,7 @@ for file in ${BASEDIR}/.[^.]*; do if [ -L ${basefile} ]; then # Someone already created this link. Pass over it in silence : - elif [ -z ${basefile} ]; then + elif [ ! -a ${basefile} ]; then # Create the link ln -s ${relfile} || die "failed to link ${relfile}" echo "created ${relfile}..."