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

Ludovic Poitou
16.26.2011 becab4a7f62980abcf124ffc43f39fd4024dfa29
opendj-sdk/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