Commit bb0c422e authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

build-support/php: run `shfmt` on hooks

parent 7628af12
Loading
Loading
Loading
Loading
+83 −83
Original line number Diff line number Diff line
@@ -100,8 +100,8 @@ composerVendorInstallHook() {

  for installer_path in "${installer_paths[@]}"; do
    # Remove everything after {$name} placeholder
        installer_path="${installer_path/\{\$name\}*/}";
        out_installer_path="$out/${installer_path/\{\$name\}*/}";
    installer_path="${installer_path/\{\$name\}*/}"
    out_installer_path="$out/${installer_path/\{\$name\}*/}"
    # Copy the installer path if it exists
    if [[ -d "$installer_path" ]]; then
      mkdir -p $(dirname "$out_installer_path")
+33 −33

File changed.

Contains only whitespace changes.

+54 −54

File changed.

Contains only whitespace changes.