diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2022-12-12 22:10:49 +0000 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2022-12-12 22:10:49 +0000 |
commit | 5e403cad14837cc1482c68b48316fe9861d0d737 (patch) | |
tree | b894c77118fb68db8fa7d8347307bb95cf5f653e /rose-mklink | |
parent | 1bed1963813cfcf453603e450bb0c134909ff21b (diff) |
fix: small sh/bash incompatibility in rose-mklink
'echo -e' throws a warning in sh, but not in bash
Diffstat (limited to 'rose-mklink')
-rwxr-xr-x | rose-mklink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rose-mklink b/rose-mklink index a56f321..a658930 100755 --- a/rose-mklink +++ b/rose-mklink @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash test "$1" = "--help" || test -z "$1" && { echo -e "usage: rose-mklink <alias> <url>\n" |