cybergis / cybergis-compute-core

Apache License 2.0
7 stars 6 forks source link

Potential Alternative to Echo for File Transfer #77

Closed alexandermichels closed 1 year ago

alexandermichels commented 1 year ago

The usage of echo ${content} >> ${file) has caused a few problems in the Core when trying to write bash functions or environmental variables (see https://github.com/cybergis/cybergis-compute-core/issues/69). This PR seeks to replace that by instead creating a temporary local file, transferring it, and then deleting the local file.

Overview of Changes: