File: get_git_version.sh

package info (click to toggle)
cmor 2.9.1-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,332 kB
  • ctags: 9,614
  • sloc: f90: 22,548; ansic: 19,102; python: 7,693; sh: 3,041; makefile: 113; xml: 4
file content (7 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download | duplicates (7)
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