Sign in
nest-open-source
/
nest-learning-thermostat
/
5.1
/
rfkill
/
04e29ebf5af054e76e9130d36b6fc2c6c6228f9b
/
.
/
rfkill-0.4
/
version.sh
blob: a6a7581fab56068850ebaf1431e0252c1f6ccc17 [
file
] [
log
] [
blame
]
#!/bin/sh
VERSION
=
"0.4"
SUFFIX
=
if
test
"x$1"
=
x
--
suffix
;
then
shift
SUFFIX
=
"-$1"
shift
fi
OUT
=
"$1"
if
test
"x$SUFFIX"
!=
'x'
;
then
v
=
"$VERSION$SUFFIX"
else
v
=
"$VERSION"
fi
echo
"const char rfkill_version[] = \"$v\";"
>
"$OUT"