From 1106cb9aec5a36bbf50bf8ebffa1d2d7c7219353 Mon Sep 17 00:00:00 2001 From: Pablo Carle Date: Fri, 13 Dec 2024 13:21:11 +0100 Subject: [PATCH] fix auto conversion (#3930) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pablo Hernán Carle Co-authored-by: Pablo Hernán Carle --- discovery-package/src/main/resources/bin/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery-package/src/main/resources/bin/configure.sh b/discovery-package/src/main/resources/bin/configure.sh index 4afe056637..3790452fa4 100644 --- a/discovery-package/src/main/resources/bin/configure.sh +++ b/discovery-package/src/main/resources/bin/configure.sh @@ -41,7 +41,7 @@ fi if [ -e "$SOURCE_FILE" ]; then # _BPXK_AUTOCVT is set on some systems and resulted in twice-converted files when run through chtag and sed - _BPXK_AUTOCVT="OFF" sed -W filecodeset=ISO8859-1 -e "s|%ZOSMF_SCHEME%|${ZOSMF_SCHEME}|g" $SOURCE_FILE >$DEST_FILE # implicit EBCDIC out + _BPXK_AUTOCVT="ON" sed -W filecodeset=ISO8859-1 -e "s|%ZOSMF_SCHEME%|${ZOSMF_SCHEME}|g" $SOURCE_FILE >$DEST_FILE # implicit EBCDIC out iconv -f IBM-1047 -t ISO8859-1 $DEST_FILE >$SOURCE_FILE _BPXK_AUTOCVT="OFF" chtag -tc ISO8859-1 $SOURCE_FILE rm -f $DEST_FILE