File: build-AWLUtilities.sh

package info (click to toggle)
awl 0.53-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,604 kB
  • sloc: php: 5,868; sql: 107; sh: 79; makefile: 72
file content (9 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# Apply the current version numbers into always.php from always.php.in
#

AWL_VERSION="`head -n1 VERSION`"

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