Sign in
nest-open-source
/
nest-learning-thermostat
/
5.1.1
/
rfkill
/
refs/heads/master
/
.
/
rfkill-0.4
/
version.sh
blob: a6a7581fab56068850ebaf1431e0252c1f6ccc17 [
file
] [
log
] [
blame
] [
edit
]
#!/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"