blob: 7e30d61462f181804a36839a3646ea2f12d1322c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
# compile g
if gcc g.c -o g -O1 -Wall -Wextra -pedantic; then
# move to PATH
if sudo cp ./g /usr/bin/g; then
# remove binary from local repo
if rm ./g; then
# status message
printf ":: done ♥\n"
else
# or kill myself
printf ":: couldnt remove binary from local repo, fuck you ♥\n"
fi
else
# or kill yourself
printf ":: couldnt copy to PATH, fuck you ♥\n"
fi
else
# or kill ourselves
printf ":: couldnt compile, fuck you ♥\n"
fi
|