diff options
author | makefu <github@syntax-fehler.de> | 2015-10-21 09:11:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-10-21 09:11:01 +0200 |
commit | 90683369be019254c2b86bfc4ca3c8de3b441ff0 (patch) | |
tree | 9ffc69a0787291e66192309102e320dc2b1fb21e /makefu/3modules | |
parent | 0696c3ff38ff629ad5f184bc458392de748a87b6 (diff) |
m 3 bepasty-server: fix escape
Diffstat (limited to 'makefu/3modules')
-rw-r--r-- | makefu/3modules/bepasty-server.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makefu/3modules/bepasty-server.nix b/makefu/3modules/bepasty-server.nix index d970652a4..bc7158d8d 100644 --- a/makefu/3modules/bepasty-server.nix +++ b/makefu/3modules/bepasty-server.nix @@ -104,12 +104,12 @@ let PrivateTmp = true; ExecStartPre = pkgs.writeScript "bepasty-server.${name}-init" '' #!/bin/sh - chmod 755 ${server.workDir} - mkdir -p ${server.dataDir} + chmod 755 "${server.workDir}" + mkdir -p "${server.dataDir}" cat > ${server.workDir}/bepasty-${name}.conf <<EOF SITENAME="${name}" STORAGE_FILESYSTEM_DIRECTORY="${server.dataDir}" - SECRET_KEY="${escapeShellArg server.secretKey}" + SECRET_KEY="${escape server.secretKey}" DEFAULT_PERMISSIONS="${server.defaultPermissions}" ${server.extraConfig} EOF |