From 715a2779d48a19d92cc1489e5c2193066d44fa2c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 29 Jun 2018 08:55:32 -0600 Subject: [PATCH] fix a typo in the previous commit. --- tools/link.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/link.sh b/tools/link.sh index 1c343c94ca..28525b5725 100755 --- a/tools/link.sh +++ b/tools/link.sh @@ -2,7 +2,7 @@ ############################################################################ # tools/link.sh # -# Copyright (C) 2008 Gregory Nutt. All rights reserved. +# Copyright (C) 2008, 2018 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -102,10 +102,11 @@ if [ ! -h ${dest} ]; then if [ -d ${dest} ]; then # Create the .fakelnk for unlink.sh + touch ${dest}/.fakelnk else echo "Error: link at ${dest} not created." exit 1 - if + fi fi