diff --git a/run.sh b/run.sh index 41cc768280cef026da551c1c8b8acbdaf391fd70..bdb65095dfc0445f1b4fd450d5986420282a1c77 100755 --- a/run.sh +++ b/run.sh @@ -23,19 +23,13 @@ cd "$(dirname "$0")" function main () { - # Check if first arg was provided. - if [[ $1 != "" ]] + # Check that required number of args were provided. + if [[ $# -lt 8 ]] then - # Check that required number of args were provided. - if [[ $# -lt 8 ]] - then - # Not enough arguments. Display help. - display_help - else - execute_single_file $@ - fi + # Not enough arguments. Display help. + display_help else - execute_all_files $@ + execute_single_file $@ fi echo "" @@ -96,15 +90,6 @@ function execute_single_file () { } -### - # Runs all cache simulation files. - ## -function execute_all_files () { - echo -e "${color_red}Not yet implemented.${color_reset}" - exit 1 -} - - ### # Gets absolute path of provided file/directory. ##