mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
16.26.2011 b2ac5a8556b6ea187592b01b918d742b2c592a7c
opends/resource/configure
@@ -41,6 +41,14 @@
SCRIPT_NAME=configure
export SCRIPT_NAME
# Check if running as root. This is required to be able to copy files and
# enable SMF
if [[ `id -u` -ne 0 ]]
then
  echo "This script must be run as root" 1>&2
  exit 1
fi
cd "${WORKING_DIR}"
# Set environment variables