From f2e462842e810898ff40a7bf799dac7f76f815f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 30 Aug 2024 09:24:04 +0300 Subject: [PATCH] exC: make script executable --- exercises/exerciseC/run_with_all_configurations.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 exercises/exerciseC/run_with_all_configurations.sh diff --git a/exercises/exerciseC/run_with_all_configurations.sh b/exercises/exerciseC/run_with_all_configurations.sh old mode 100644 new mode 100755 index 30a1414..ffe1012 --- a/exercises/exerciseC/run_with_all_configurations.sh +++ b/exercises/exerciseC/run_with_all_configurations.sh @@ -1,9 +1,13 @@ -# This is bash -# It runs the python script multiple times with different arguments +#!/bin/bash +set -ex + +# This is a bash script. +# It runs the python program multiple times with different arguments. + for i in {1..5} # Number of processes do for j in {1..5} # Number of threads do python process_images.py $i $j images/* done -done \ No newline at end of file +done