14 lines
260 B
Bash
Executable File
14 lines
260 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ $# -gt 1 ]; then
|
|
echo $2
|
|
exit 0
|
|
fi
|
|
|
|
declare image_name="$1"
|
|
if [ $# -eq 0 ]; then
|
|
declare image_name_cmd="$(realpath $(dirname "$0"))/docker_image_name.fish"
|
|
image_name="$(eval $image_name_cmd)"
|
|
fi
|
|
echo "${USER}s_$image_name"
|