more small fixes
This commit is contained in:
parent
495dbc6270
commit
fc7a251da4
4
envs
4
envs
|
@ -185,7 +185,7 @@ case "$1" in
|
|||
;;
|
||||
|
||||
submit)
|
||||
printf "hello, %s! so it's time to submit your script?" "$USER"
|
||||
printf "hello, %s! so it's time to submit your script?\n" "$USER"
|
||||
submission_checklist
|
||||
prompt_confirm "are you ready to continue?" || graceful_exit
|
||||
printf 'enter the name of your script: '
|
||||
|
@ -194,7 +194,7 @@ case "$1" in
|
|||
verify_script_name "$script_name"
|
||||
|
||||
if [[ -x "$HOME"/bin/"$script_name" ]]; then
|
||||
printf 'cool, found your script\n'
|
||||
printf '\ncool, found your script\n'
|
||||
[[ -x /envs/pending-submissions/"$USER"/"$script_name"/"$script_name" ]] && error_exit "you've already submitted $script_name"
|
||||
else
|
||||
error_exit "$script_name not found in ~/bin"
|
||||
|
|
Loading…
Reference in New Issue