Skip to content

Commit

Permalink
Adjusted configure.ac for finding workdir, logdir and piddir on windo…
Browse files Browse the repository at this point in the history
…ws platform

Ticket: ENT-12594
Changelog: none
  • Loading branch information
craigcomstock committed Jan 22, 2025
1 parent 8bf3d06 commit b7bf005
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ AS_IF([test x"$enable_fhs" = xyes], [
prefix=/var/cfengine
case "$target_os" in
mingw*)
WORKDIR=$(cmd /c "echo %PROGRAMFILES%\\Cfengine" | sed 's/\\/\\\\/g')
WORKDIR=$(wine cmd.exe /c "echo %PROGRAMFILES%\\Cfengine" 2>/dev/null | sed 's/\\/\\\\/g')
MASTERDIR=default
INPUTDIR=default
DATADIR=default
LOGDIR=$(cmd /c "echo %PROGRAMFILES%\\Cfengine" | sed 's/\\/\\\\/g')
PIDDIR=$(cmd /c "echo %PROGRAMFILES%\\Cfengine" | sed 's/\\/\\\\/g')
LOGDIR=$(wine cmd.exe /c "echo %PROGRAMFILES%\\Cfengine" 2>/dev/null | sed 's/\\/\\\\/g')
PIDDIR=$(wine cmd.exe /c "echo %PROGRAMFILES%\\Cfengine" 2>/dev/null | sed 's/\\/\\\\/g')
STATEDIR=default
;;
*)
Expand Down

0 comments on commit b7bf005

Please sign in to comment.