Resolve copy operation

This commit is contained in:
Price Hiller 2021-12-26 00:25:03 -06:00
parent d5545d3f39
commit fe0b25e0ae

View File

@ -36,7 +36,7 @@ mkdir -p "${SDTD_BIN_DIR}"
for script in "${GIT_DIR}/Scripts/"*; do
script_name="$(basename "${script}")"
script_suffixless="${script_name%.bash}"
cp "${script_suffixless}" "${SDTD_BIN_DIR}"
cat "${script}" > "${SDTD_BIN_DIR}/${script_suffixless}"
chmod 740 "${SDTD_BIN_DIR}/${script_suffixless}"
done