File: build-AWLUtilities.sh

package info (click to toggle)
awl 0.64-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 884 kB
  • sloc: php: 6,291; sql: 109; sh: 70; makefile: 55
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};/"