mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-16 16:29:18 +01:00
15 lines
234 B
Bash
Executable File
15 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -z "$1" ];
|
|
then
|
|
if [ ! -s source/buildtype.h ];
|
|
then
|
|
echo "#define $1" > source/buildtype.h
|
|
fi
|
|
else
|
|
if [[ ! -f source/buildtype.h || -s source/buildtype.h ]];
|
|
then
|
|
cp /dev/null source/buildtype.h
|
|
fi
|
|
fi
|