projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f3997
)
udbToAny.ksh: don't hardcode path to awk
author
Nina Didenko
<nina.didenko@gmail.com>
Tue, 5 Nov 2019 17:45:42 +0000
(20:45 +0300)
committer
Jon Trulson
<jon@radscan.com>
Wed, 6 Nov 2019 01:49:02 +0000
(18:49 -0700)
cde/admin/IntegTools/dbTools/udbToAny.ksh
patch
|
blob
|
history
diff --git
a/cde/admin/IntegTools/dbTools/udbToAny.ksh
b/cde/admin/IntegTools/dbTools/udbToAny.ksh
index 655b627f6b8f23fec139543dd785644a5f4c15de..2345b9fdbf556fb76158cd9d5185fb829a4e9b59 100755
(executable)
--- a/
cde/admin/IntegTools/dbTools/udbToAny.ksh
+++ b/
cde/admin/IntegTools/dbTools/udbToAny.ksh
@@
-102,9
+102,9
@@
ConvertRoutine()
shift
shift
- AWK=
/usr/bin/
awk
- if
[ -x /usr/bin/nawk ]
; then
- AWK=
/usr/bin/
nawk
+ AWK=awk
+ if
type nawk > /dev/null 2>&1
; then
+ AWK=nawk
fi
#