Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use bash; solaris does not like 'hostname -s' (jasonwtucker@gmail.com)

SVN Revision: 505
  • Loading branch information...
commit ea000685579d84cd0b2c090a6c8f740bb1ed24e4 1 parent 2bdf40e
@nniclausse nniclausse authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 idx-tsunami.sh.in
View
9 idx-tsunami.sh.in
@@ -1,6 +1,11 @@
-#!/bin/sh
+#!/bin/bash
-HOST=`hostname -s`
+UNAME=`uname`
+case $UNAME in
+ "Linux") HOSTNAME=`hostname -s`;;
+ "SunOS") HOSTNAME=`hostname`;;
+ *) HOSTNAME=`hostname -s`;;
+esac
INSTALL_DIR=@prefix@/lib/erlang/
ERL=@ERL@
Please sign in to comment.
Something went wrong with that request. Please try again.