diff options
Diffstat (limited to '')
-rw-r--r-- | src/argparser.bash | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/argparser.bash b/src/argparser.bash index c4f306b..871e8ca 100644 --- a/src/argparser.bash +++ b/src/argparser.bash @@ -163,7 +163,9 @@ function args_support_alternatives { local alt for alt in "$(ls "${args_optmap}")"; do - ln -s "${args_opts}/$(head -n 1 < "${args_optmap}/${alt}")" "${args_opts}/${alt}" + if [ ! -e "${args_opts}/${alt}" ]; then + ln -s "${args_opts}/$(head -n 1 < "${args_optmap}/${alt}")" "${args_opts}/${alt}" + fi done } |