-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget-time.sh
More file actions
executable file
·22 lines (21 loc) · 1.12 KB
/
get-time.sh
File metadata and controls
executable file
·22 lines (21 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# **************************************************************************** #
# #
# ::: :::::::: #
# get-time.sh :+: :+: :+: #
# +:+ +:+ +:+ #
# By: vvaucoul <vvaucoul@student.42.Fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/05/19 14:38:28 by vvaucoul #+# #+# #
# Updated: 2022/05/19 15:42:05 by vvaucoul ### ########.fr #
# #
# **************************************************************************** #
ls compile-calculator > /dev/null 2>&1
if [ $? -eq 0 ]
then
./compile-calculator $1
rm -f compile-calculator
else
gcc -o compile-calculator scripts/compile-calculator/compile-calculator.c
./compile-calculator $1
rm -f compile-calculator
fi