ports/devel/hadoop/files/hadoop.in
Alexey Dokuchaev bbc0e7b376 - Double-quote $@ to properly propagate parameters down the execution path
- Consistently pad (separate) shebang in wrapper scripts with an empty line
2016-10-17 04:00:20 +00:00

8 lines
114 B
Bash

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