From 87d1b9b9a2e878a7743995657c1fd807d634022b Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Thu, 18 Feb 2010 15:19:58 -0800 Subject: [PATCH] Fix bug in install-symlinks Fix a bug in install-symlinks where we were unable to recognize non-existant files --- install-symlinks.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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}..." -- 1.6.6.rc1.39.g9a42