freebsd-ports/devel/hadoop/files/hadoop.in
Tijl Coosemans 0ea25d146e - Update Apache Hadoop to version 1.2.1.
- Hand maintainership to submitter.
- Replace HADOOP_HOME with DATADIR and HADOOP_ETC with ETCDIR.
- Replace pkg-install and pkg-deinstall with pkg-plist entries.
- Support staging.
- Fix build on FreeBSD 10 (clang, libc++, hardcoded gcc).

PR:		ports/183307
Submitted by:	Pedro Giffuni <pfg@apache.org>
2013-11-02 11:04:31 +00:00

7 lines
111 B
Bash

#!/usr/bin/env bash
for i in `ls %%ETCDIR%%/envvars.d/*.env`
do
. ${i}
done
exec %%DATADIR%%/bin/hadoop $@