Namespace src/Compiler/Embed
src/Compiler/Embed
Overview
Directory src/Compiler/Embed
file source src/Compiler/Embed/extractDirFromBase64.sh
Compiler::Embed::extractDirFromBase64
convert base64 encoded back to target dir it is advised to include the md5sum of the binFile in the path of the target dir
Arguments
- $1 (targetDir:string): the directory in which tar archive will be untarred
- $2 (base64:string): the base64 encoded tar czf archive
Output on stderr
- diagnostics information is displayed
Requires
- Linux::requireTarCommand
src/Compiler/Embed/extractFileFromBase64.sh
file source src/Compiler/Embed/extractFileFromBase64.sh
Compiler::Embed::extractFileFromBase64
convert base64 encoded back to target file if target file is executable prepend dir of target file to PATH to make binary available everywhere it is advised to include in the path of the target file the md5sum of the binFile
Arguments
- $1 (targetFile:String): the file to write
- $2 (binFileBase64:String): the base64 encoded file
- $3 (fileMode:String): the chmod to set on the file
Variables set
- PATH (String): prepend target embedded file binary directory to PATH variable if binary executable