Skip to content

Commit

Permalink
A fix for output
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaghubi committed Mar 18, 2024
1 parent 26f70cf commit 2d7eb91
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ shopt -s extglob

for fw in $param_targets
do
echo "> cleaning $fw "
if [ -d "$fw" ]; then
echo "> cleaning $fw "
cd "$fw"
. "_benchmark/clean.sh"
cd ..
else
# check for dir
echo -e "${RED}Dir $fw/ doesn't exist!"
echo -e "${RED}Dir $fw/ doesn't exist!${NC}"
FAIL=1
fi
done
4 changes: 2 additions & 2 deletions clear-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ shopt -s extglob

for fw in $param_targets
do
echo -n "> clearing cache: $fw "
if [ -d "$fw" ]; then
echo -n "> clearing cache: $fw "
cd "$fw"
. "_benchmark/clear-cache.sh"
cd ..
else
# check for dir
echo -e "${RED}Dir $fw/ doesn't exist!"
echo -e "${RED}Dir $fw/ doesn't exist!${NC}"
FAIL=1
fi
done
6 changes: 3 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ NC='\033[0m' # No Color

for fw in $param_targets
do
echo -e "\n\n"
echo "/------- $fw: setting up -------/"
if [ -d "$fw" ]; then
echo -e "\n\n"
echo "/------- $fw: setting up -------/"
cd "$fw"
. "_benchmark/setup.sh"
cd ..
else
# check for dir
echo -e "${RED}Dir $fw/ doesn't exist!"
echo -e "${RED}Dir $fw/ doesn't exist!${NC}"
FAIL=1
fi
done
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ do
cd ..
else
# check for dir
echo -e "${RED}Dir $fw ${NC} doesn't exist"
echo -e "${RED}Dir $fw/ doesn't exist!${NC}"
FAIL=1
fi
done

0 comments on commit 2d7eb91

Please sign in to comment.