From 4b6fb41e5fa26b03ad20ede719af495b695d3344 Mon Sep 17 00:00:00 2001 From: Stuart Prescott Date: Mon, 10 Oct 2011 16:04:52 +0100 Subject: [PATCH] Check that mr is installed before using it --- movein | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/movein b/movein index f236b14..7adf333 100755 --- a/movein +++ b/movein @@ -96,6 +96,11 @@ init() { exit 1 fi + if ! which mr > /dev/null; then + echo '"mr" not found in the PATH' + exit 1 + fi + echo -n "git server hostname? [git.vireo.org] " read GIT_HOST if [ -z "$GIT_HOST" ]; then -- 2.39.5