forked from mirrors/nixpkgs
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:
parent
de808ae79f
commit
c9e337196a
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue