Skip to content

Commit 70982a9

Browse files
committed
461: Prepend /opt/freeware/bin to PATH on AIX to use a grep which supports -o
1 parent 168ff1e commit 70982a9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CI/inject_version.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
#!/bin/bash
22
# Link inject_version.sh
3+
34
set -e
5+
6+
# The default grep on AIX does not support the -o flag; so prepend /opt/freeware/bin to $PATH
7+
8+
case $(uname) in
9+
AIX) PATH=/opt/freeware/bin:$PATH ;;
10+
esac
11+
412
# A local or jenkins builder will call this script from the root of the checked out git repo
513
# Another build mechanism might copy files to another directory before modifying them
614
if [ $# -eq 0 ];
@@ -44,4 +52,3 @@ echo ${full_version}
4452

4553
sed -i "s/^version\s\?←\s\?'[0-9]\+\.[0-9]\+\.[0-9]\+-\?\w\+\?/version←'${full_version}/" ${D}/StartupSession/Link/Version.aplf
4654

47-
exit 0

StartupSession/Link/Version.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version←Version
2-
version←'3.0.18'
2+
version←'3.0.19'

0 commit comments

Comments
 (0)