aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-12 22:10:49 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-12 22:10:49 +0000
commit5e403cad14837cc1482c68b48316fe9861d0d737 (patch)
treeb894c77118fb68db8fa7d8347307bb95cf5f653e
parent1bed1963813cfcf453603e450bb0c134909ff21b (diff)
fix: small sh/bash incompatibility in rose-mklink
'echo -e' throws a warning in sh, but not in bash
-rwxr-xr-xrose-mklink2
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"