Skip to content

Commit

Permalink
fix: clarify warning message for existing symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed May 8, 2024
1 parent 3a7716f commit a70eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ link_files() {
if [ -e "${dest}" ] && [ ! -h "${dest}" ]; then
echo " WARN: symlink failed, \"${dest}\" exists and is not a symlink"
elif [ -h "${dest}" ] && [ "$(readlink "${dest}")" != "${source}" ]; then
echo " WARN: symlink failed, \"${dest}\" linked to another path"
echo " WARN: symlink failed, \"${dest}\" is linked to another path"
elif [ ! -e "${dest}" ]; then
echo " INFO: symlink \"${source}\" to \"${dest}\""
ln -s "${source}" "${dest}"
Expand Down

0 comments on commit a70eb5b

Please sign in to comment.