File: update-convert-c.sh

package info (click to toggle)
r-cran-rnetcdf 2.9-2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: ansic: 9,725; xml: 210; sh: 102; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Update src/convert.c from tools/convert.m4

set -e
set -u

# Set working directory to base directory of package:
thisdir="$( dirname "$0" )"
cd "$thisdir/.."

# Run m4:
m4 tools/convert.m4 > src/convert.c