mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
15 lines
234 B
Bash
15 lines
234 B
Bash
|
#!/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
|