Issue #7584 Kafka Log Directory Not Writeable

Fix quotes in substitution so LOG_DIR is set to a writeable location
This commit is contained in:
Ben Smith 2015-04-26 19:58:12 -07:00
parent de808ae79f
commit c9e337196a

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
# allow us the specify logging directory using env
substituteInPlace $out/bin/kafka-run-class.sh \
--replace 'LOG_DIR=$base_dir/logs' 'LOG_DIR=$KAFKA_LOG_DIR'
--replace 'LOG_DIR="$base_dir/logs"' 'LOG_DIR="$KAFKA_LOG_DIR"'
for p in $out/bin\/*.sh; do
wrapProgram $p \