From 174661791c2adf048339572ed12b2072f2d24dd1 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Tue, 3 Jul 2018 14:40:45 -0700 Subject: [PATCH] perl: change post_install to array --- perl.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/perl.json b/perl.json index fb8a39e54c..d2eaa78ba4 100644 --- a/perl.json +++ b/perl.json @@ -12,12 +12,12 @@ "hash": "b3b8b210cf93c0a8cd2b6c48c2bb0b9a8a9d6be8bfad23b13f8bb1be73aaca1a" } }, - "post_install": " - # enable standard idiomatic access to user's home directory - ## remove HomeDir section from portable.perl (disables Portable.pm override of File::HomeDir) - ## NOTE: conversion to byte[] avoids adding an extra trailing newline to the output file - [byte[]][char[]]((Get-Content -raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\") | Set-Content \"$dir\\portable.perl\" -encoding byte - ", + "post_install": [ + "# enable standard idiomatic access to user's home directory", + "## remove HomeDir section from portable.perl (disables Portable.pm override of File::HomeDir)", + "## NOTE: conversion to byte[] avoids adding an extra trailing newline to the output file", + "[byte[]][char[]]((Get-Content -raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\") | Set-Content \"$dir\\portable.perl\" -encoding byte" + ], "env_add_path": [ "perl\\site\\bin", "perl\\bin",