diff options
-rwxr-xr-x | scripts/rabbitmq-env | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rabbitmq-env b/scripts/rabbitmq-env index 19767138..23224943 100755 --- a/scripts/rabbitmq-env +++ b/scripts/rabbitmq-env @@ -15,7 +15,8 @@ ## Copyright (c) 2007-2012 VMware, Inc. All rights reserved. ## -# Determine where this script is really located (if this script is embedded, this is the location of the caller) +# Determine where this script is really located (if this script is +# invoked from another script, this is the location of the caller) SCRIPT_PATH="$0" while [ -h "$SCRIPT_PATH" ] ; do FULL_PATH=`readlink -f $SCRIPT_PATH 2>/dev/null` |