diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-02-19 17:27:43 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-02-19 17:34:03 -0500 |
commit | 592c6676e6ca63da2baf9cf62bf3680d3fef3e58 (patch) | |
tree | ef57f9751fc5a504ac07ec1195fe6731511535bf | |
parent | Update magit to include commit dropping sed -i (diff) |
Warn on non-existent SUBSTS.local file, make sure it's 600
Diffstat (limited to '')
-rwxr-xr-x | dm | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,13 @@ set -e +if [ ! -f SUBSTS.local ]; then + echo "Please create the file SUBSTS.local first." + exit 1; +fi + +chmod 600 SUBSTS.local + if [ `uname` = "Linux" ]; then make --version | grep "GNU Make" > /dev/null 2>&1 || { echo "Please install GNU Make"; exit 1; } MAKE=`command -v make` |