about summary refs log tree commit diff stats
path: root/setup.sh
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-09-30 11:34:37 -0400
committerCharadon <dev@iotib.net>2022-09-30 11:34:37 -0400
commit86bf546983e56c652af106d756b6e543d0b1fe94 (patch)
treef849322e7710952e07f4ca7d3fbb0e2c90301d39 /setup.sh
parent49b1842d1e363cd0e3beb3896bd4ab5326c1bfbc (diff)
downloaddscip-86bf546983e56c652af106d756b6e543d0b1fe94.tar.gz
setup.sh: Added failure message if missing realpath
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 1a20dbb..9792fc5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -22,6 +22,10 @@ then
 elif which grealpath > /dev/null;
 then
 	REALPATH="grealpath"
+else
+	echo "realpath or grealpath wasn't found. If your OS doesn't contain it. Try"
+	echo "to see GNU Coreutils is in your package manager, and install those."
+	exit 1
 fi
 
 show_license() {