Home | History | Annotate | Download | only in syslinux

Lines Matching refs:id

3 # Create a build ID for this build.  If we're using a git tree,
4 # generate an ID from "git describe", otherwise use the passed-in
7 # Usage: gen-id.sh version timestamp
15 id="$(git describe)"
16 if test -n "$id"; then
17 if test x"$(echo "$id" | cut -d- -f1)" = xsyslinux; then
18 id="$(echo "$id" | cut -d- -f2-)"
19 if test x"$(echo "$id" | cut -d- -f1)" = x"$ver"; then
20 id="$(echo "$id" | cut -d- -f2-)"
24 if test -n "$id"; then
26 id="${id}"\*
30 if test -z "$id"; then
31 id="$tim"
33 echo "$id"