From dcb1ed2146d63a7978f2451fef20b9156e1e4b94 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Tue, 10 Apr 2018 00:09:56 -0400 Subject: [PATCH] Small bug on install symlinks --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 158c3fd..93c762c 100755 --- a/install.sh +++ b/install.sh @@ -24,9 +24,9 @@ try_mkdir() { } try_ln() { - if [ ! -f $1 ]; then - echo "Creating soft symlink from $2 to $1" - ln -s $2 $1 + if [ ! -f $2 ]; then + echo "Creating soft symlink from $1 to $2" + ln -s $1 $2 fi } -- libgit2 0.28.4