commit dcb1ed2146d63a7978f2451fef20b9156e1e4b94 (patch) parent 30f2fdc167cbce275e773f8c135ac62da11215f6 Author: Alexander Karle <akarle@umass.edu> Date: Tue, 10 Apr 2018 00:09:56 -0400 Small bug on install symlinks Diffstat:
M | install.sh | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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 }