aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-23 13:41:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-23 13:41:59 -0300
commitaa93bb2844ce784ed43129a119ddc0514973a2b3 (patch)
tree9c61a5e92db78fe061ac08835c1be766607153f9
parent935fa627897a8f7ad396e6b385a9af7baf8a9783 (diff)
downloadstowpkg-aa93bb2844ce784ed43129a119ddc0514973a2b3.tar.gz
stowpkg-aa93bb2844ce784ed43129a119ddc0514973a2b3.tar.bz2
Requires make
-rwxr-xr-xstowpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/stowpkg b/stowpkg
index da22e89..bb2a14c 100755
--- a/stowpkg
+++ b/stowpkg
@@ -42,6 +42,12 @@ __stowpkg_initialize () {
exit 1
fi
+ # Check for make
+ if ! which make > /dev/null 2>&1; then
+ echo "$BASENAME: please install make first"
+ exit 1
+ fi
+
# Sudo config
if [ "`whoami`" != 'root' ]; then
SUDO="sudo"