9 lines
200 B
Bash
Executable File
9 lines
200 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
gcc src/main.c -o "usuid" -Os -Werror -Wall
|
|
sudo chown root "usuid.usuid"
|
|
sudo chmod 755 "usuid.usuid"
|
|
sudo chown root "usuid"
|
|
sudo chmod 755 "usuid"
|
|
sudo chmod u+s "usuid"
|