libnetwork.lib - use the builtin command 'type' instead of 'which'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
15013489c1
commit
1ef49ec99d
@ -65,6 +65,10 @@ Sat Sep 20 2014 Madrisan <davide.madrisan(a)gmail.com>
|
||||
* tests/{test01_pkgquality,test02_pkgsecurity} - Davide Madrisan
|
||||
Fix an obsolete and now unsupported syntax for 'find -perm'.
|
||||
|
||||
+ improvement
|
||||
* lib/libnetwork.lib - Davide Madrisan
|
||||
Do not use the external tool 'which'. Use the bash builtin command 'type'.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.16.4 - "Korbielow" release
|
||||
|
@ -1002,7 +1002,7 @@ not the expected package version"" (${NOTE}${today}git${NORM})..."
|
||||
notify.debug "$FUNCNAME: pck_version = \"$pck_version\""
|
||||
fi
|
||||
|
||||
which git &>/dev/null ||
|
||||
type -p git &>/dev/null ||
|
||||
notify.error $"utility not found"": \`git'"
|
||||
|
||||
local tmpgitdir=$(mktemp -q -d -t tmpgit.XXXXXXXX)
|
||||
|
Loading…
Reference in New Issue
Block a user