Skip to content
Permalink
Browse files

Abort build if built

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 12, 2019
1 parent d6aabc7 commit aca00c90f966b3e9a98a81c040cd4114bf53846b
Showing with 5 additions and 0 deletions.
  1. +5 −0 nems-build.sh
@@ -16,6 +16,11 @@ if [[ $EUID -ne 0 ]]; then
exit 1
else

if [[ -e /usr/local/share/nems ]]; then
echo "NEMS is already built. Aborting.";
exit 1
fi

# Create the log folder
if [[ ! -d /var/log/nems ]]; then
mkdir /var/log/nems

0 comments on commit aca00c9

Please sign in to comment.
You can’t perform that action at this time.