Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
scripts: Small fix for POSIX-compliance
cloudhead committed 2 years ago
commit e57dbc337a5751f5a7f2e2579cfcbacf0725e895
parent 1376ab63c04dc907fe44d58c9046458465a08a58
1 file changed +1 -1
modified scripts/delete-remote-refs.sh
@@ -11,7 +11,7 @@ RAD_HOME=${RAD_HOME:-"$HOME/.radicle"}
REPO=$(echo "$1" | sed 's/rad://')
REMOTE=$2

-
if [ "$REMOTE" == "$(rad self --nid)" ]; then
+
if [ "$REMOTE" = "$(rad self --nid)" ]; then
  echo "Error: refusing to delete your own remote"
  exit 1
fi