mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix shellcheck warning in add_tools.sh
This commit is contained in:
parent
dfc02c42d9
commit
81a06ff6ed
@ -19,6 +19,6 @@ add_tools_helper() {
|
|||||||
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdocumentor 2>/dev/null || true
|
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdocumentor 2>/dev/null || true
|
||||||
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdoc
|
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdoc
|
||||||
elif [[ "$tool" =~ (symfony|vapor|wp)-cli ]]; then
|
elif [[ "$tool" =~ (symfony|vapor|wp)-cli ]]; then
|
||||||
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/${tool%-*}
|
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/"${tool%-*}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user