@profoundlogic/codermake 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/index.js +1 -1
- package/dist/bin/preprocess-rpg-copy.js +1 -1
- package/dist/bin/rdf-to-dds.js +1 -1
- package/dist/lib/discovery.js +1 -1
- package/dist/lib/ejs-to-dds.js +1 -1
- package/dist/lib/executor.js +1 -1
- package/dist/lib/generate-rdf-dds.js +1 -1
- package/dist/lib/license.js +1 -1
- package/dist/lib/makefile-generator.js +1 -1
- package/dist/lib/platform.js +1 -1
- package/dist/lib/preprocessor.js +1 -1
- package/dist/lib/rdf-to-post-data.js +1 -1
- package/dist/lib/rpg-copy-preprocessor.js +1 -1
- package/dist/lib/ssh.js +1 -1
- package/dist/lib/writer.js +1 -1
- package/dist/makefiles/unix.mk +10 -1
- package/package.json +1 -1
package/dist/makefiles/unix.mk
CHANGED
|
@@ -110,6 +110,15 @@ endef
|
|
|
110
110
|
|
|
111
111
|
######
|
|
112
112
|
# Reusable utility for remote builds via SSH.
|
|
113
|
+
#
|
|
114
|
+
# Source files are bundled into a tar locally, streamed over SSH, and extracted
|
|
115
|
+
# on the IBM i. Extraction uses PASE tar (/QOpenSys/usr/bin/tar) rather than
|
|
116
|
+
# QShell tar (/usr/bin/tar). QShell tar tags extracted stream files with the
|
|
117
|
+
# job CCSID (e.g. 37 EBCDIC) regardless of the file's actual byte content,
|
|
118
|
+
# which corrupts UTF-8 source containing extended characters (Ó, Í, Ú, Á, É,
|
|
119
|
+
# Ñ, ...): the bytes survive but the wrong CCSID tag causes the RPG compiler
|
|
120
|
+
# to read garbled source. PASE tar tags extracted files with CCSID 1208 (UTF-8),
|
|
121
|
+
# which matches what local editors produce.
|
|
113
122
|
######
|
|
114
123
|
######
|
|
115
124
|
# $(1) = source root directory to tar from (use '.' for current directory)
|
|
@@ -126,7 +135,7 @@ EXIT_CODE=0
|
|
|
126
135
|
cat "$$TAR_FILE" | $(SSH) "cat > '$$REMOTE_DIR/sources.tar'" && \
|
|
127
136
|
$(SSH) "REMOTE_DIR=$$REMOTE_DIR $(QSHELL)" <<'EOF'
|
|
128
137
|
cd $$REMOTE_DIR
|
|
129
|
-
tar -xf sources.tar
|
|
138
|
+
/QOpenSys/usr/bin/tar -xf sources.tar
|
|
130
139
|
cd $$REMOTE_DIR
|
|
131
140
|
$(SET_LIBL)
|
|
132
141
|
$(3)
|