| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function cli_getTemporalFile { |
| |
| |
| |
| |
| |
| local NAME="$(cli_getRepoName $1 -f)" |
| |
| |
| |
| if [[ "$NAME" == '' ]];then |
| cli_printMessage "`gettext "The first argument cannot be empty."`" --as-error-line |
| fi |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| NAME=${CLI_PROGRAM}-${CLI_PROGRAM_ID}-${RANDOM}-${NAME} |
| |
| |
| |
| local TEMPFILE="${CLI_TEMPDIR}/${NAME}" |
| |
| |
| echo $TEMPFILE |
| |
| } |