Page MenuHomeDevCentral

Allow Terraform check to run from Windows too
ClosedPublic

Authored by dereckson on Thu, Aug 13, 10:16.
Tags
None
Referenced Files
F43962464: D4163.id10912.diff
Fri, Aug 14, 15:43
F43962455: D4163.id10913.diff
Fri, Aug 14, 15:43
F43935288: D4163.diff
Fri, Aug 14, 12:28
F43891675: D4163.id10913.diff
Fri, Aug 14, 07:04
F43883775: D4163.diff
Fri, Aug 14, 05:57
Subscribers
None

Details

Summary

From Cygwin, with a Python interpreter installed for Windows and not
as a Cygwin package, a POSIX sh script check works if #!/usr/bin/env sh,
but not with a #!/bin/sh shebang.

Even if Cygwin populates correctly sh in /bin directory.

References:

Test Plan

Tested under Windows 11 25H2 (26200.9106), pre-commit 3.8.0
and Cygwin 3.6.10-1.x86_64.

Diff Detail

Repository
rDEVCS Nasqueron codestyle
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Thu, Aug 13, 10:16