File: build-AWLUtilities.sh

package info (click to toggle)
awl 0.57-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 796 kB
  • sloc: php: 6,185; sql: 107; sh: 55; makefile: 54
file content (9 lines) | stat: -rwxr-xr-x 264 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# Apply the current version numbers into inc/AWLUtilities.php from inc/AWLUtilities.php.in
#

AWL_VERSION="`head -n1 VERSION`"

sed -e "/^ *.c->awl_library_version *=.*$/ s/^ *.c->awl_library_version *=.*$/\$c->awl_library_version = ${AWL_VERSION};/"