# HG changeset patch # User Paper # Date 1695185591 14400 # Node ID 4dc59e1a81a32753c5ba98b8c057d6b42b37cd7a # Parent 42145ef90a48b062f0dbd8ba9327daea4d300d8e ci/win32: fix echo-ing to binfmt ok, so apparently bash AUTOMATICALLY writes a newline to the end of a file. why does it do this? nobody knows, but we can avoid it by simply adding the `-n` flag diff -r 42145ef90a48 -r 4dc59e1a81a3 .builds/win32.yml --- a/.builds/win32.yml Wed Sep 20 00:47:02 2023 -0400 +++ b/.builds/win32.yml Wed Sep 20 00:53:11 2023 -0400 @@ -25,7 +25,7 @@ mkdir build cd build sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc - sudo bash -c 'echo 1 >/proc/sys/fs/binfmt_misc/status' + sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make' triggers: - action: email