try to fix variable / escaping problem
This commit is contained in:
parent
1eb06bec0e
commit
ff8b3cc2b9
|
@ -122,18 +122,18 @@ symlinkJoin rec {
|
||||||
|
|
||||||
paths = [ unwrapped ];
|
paths = [ unwrapped ];
|
||||||
|
|
||||||
|
cfgDir="\\$HOME/.config/openmw";
|
||||||
|
|
||||||
# crudini --merge will create the file if it doesn't exist
|
# crudini --merge will create the file if it doesn't exist
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
||||||
dir=\''${XDG_CONFIG_HOME:-\$HOME/.config}/openmw
|
|
||||||
|
|
||||||
makeWrapper ${unwrapped}/libexec/tes3mp-browser $out/bin/tes3mp-browser \
|
makeWrapper ${unwrapped}/libexec/tes3mp-browser $out/bin/tes3mp-browser \
|
||||||
--chdir "$out/bin"
|
--chdir "$out/bin"
|
||||||
|
|
||||||
makeWrapper ${unwrapped}/libexec/tes3mp-server $out/bin/tes3mp-server \
|
makeWrapper ${unwrapped}/libexec/tes3mp-server $out/bin/tes3mp-server \
|
||||||
--run "mkdir -p $dir" \
|
--run "mkdir -p ${cfgDir}" \
|
||||||
--run "${crudini}/bin/crudini --merge $dir/${cfgFile.name} < ${cfgFile}" \
|
--run "${crudini}/bin/crudini --merge ${cfgDir}/${cfgFile.name} < ${cfgFile}" \
|
||||||
--chdir "$out/bin"
|
--chdir "$out/bin"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue