File: get_git_version.sh

package info (click to toggle)
cmip5-cmor-tables 1.3.13-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,052 kB
  • ctags: 140
  • sloc: sh: 1,344; python: 930; makefile: 15; ansic: 11
file content (7 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
#!/usr/bin/env sh

if [ "X"${CC} = "X" ] ; then
    gcc show_git.c -o a.out ; ./a.out ; rm a.out
else
   ${CC} show_git.c -o a.out ; ./a.out ; rm a.out
fi