mirror of https://github.com/ventoy/Ventoy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
243 B
Bash
14 lines
243 B
Bash
4 years ago
|
#!/bin/sh
|
||
|
|
||
|
rm -f init
|
||
|
|
||
|
gcc -DMOUNT_NOMAIN -Os -static *.c -I. -lutil -lkiconv -o init
|
||
|
|
||
|
strip --strip-all init
|
||
|
|
||
|
if [ -e init ]; then
|
||
|
echo -e "\n========= SUCCESS ==============\n"
|
||
|
else
|
||
|
echo -e "\n========= FAILED ==============\n"
|
||
|
fi
|