summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharif Nassar <sharif@mediatemple.net>2011-12-13 20:24:10 -0800
committerSharif Nassar <sharif@mediatemple.net>2011-12-13 20:24:10 -0800
commit9dac53afc8426bd09e946ab8f226d65cd7aaca80 (patch)
tree9a85e7b5aee223847f39d9c41dceee71e0261802
parent61c8d5c75b00e7c28d316ef427f43fd2d6817c76 (diff)
downloadpuppet-concat-9dac53afc8426bd09e946ab8f226d65cd7aaca80.tar.gz
puppet-concat-9dac53afc8426bd09e946ab8f226d65cd7aaca80.tar.bz2
Remove silly environment variable that corrupts reality.
Not sure how this is set in our puppet environment, but it is. http://nexenta.org/projects/site/wiki/Personalities
-rwxr-xr-x[-rw-r--r--]files/concatfragments.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/concatfragments.sh b/files/concatfragments.sh
index aac827d..a761b7e 100644..100755
--- a/files/concatfragments.sh
+++ b/files/concatfragments.sh
@@ -51,6 +51,10 @@ XARGSARG="-0"
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+## Well, if there's ever a bad way to do things, Nexenta has it.
+## http://nexenta.org/projects/site/wiki/Personalities
+unset SUN_PERSONALITY
+
while getopts "o:s:d:tnw:fg" options; do
case $options in
o ) OUTFILE=$OPTARG;;