Changeset 1546 for ThirdParty/ASL/trunk


Ignore:
Timestamp:
May 6, 2010 9:55:13 AM (10 years ago)
Author:
stefan
Message:

use wc -l instead of -w to accomodate people which use a spaces in paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/get.ASL

    r1084 r1546  
    44
    55wgetcmd=wget
    6 wgetcount=`which wget 2>/dev/null | wc -w`
     6wgetcount=`which wget 2>/dev/null | wc -l`
    77if test ! $wgetcount = 1; then
    88  echo "Utility wget not found in your PATH."
Note: See TracChangeset for help on using the changeset viewer.