lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] odd/multiarch c912adf 5/5: Avoid 'whence' in /bin/sh


From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/multiarch c912adf 5/5: Avoid 'whence' in /bin/sh scripts
Date: Fri, 12 Apr 2019 08:32:59 -0400 (EDT)

branch: odd/multiarch
commit c912adf0ac998a99961826364234df860926cc57
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Avoid 'whence' in /bin/sh scripts
---
 install_msw.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install_msw.sh b/install_msw.sh
index 1c20c56..2c522ed 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -228,7 +228,7 @@ echo "$PATH"
 . ./set_arch.sh
 echo "$PATH"
 
-whence wx-config
+command -v wx-config
 # get rid of this 'minimal_path' variable:
 minimal_path="$PATH"
 make $coefficiency --output-sync=recurse PATH=$minimal_path wx_config_check



reply via email to

[Prev in Thread] Current Thread [Next in Thread]