Changeset 21433


Ignore:
Timestamp:
2010-05-12T23:19:51+02:00 (7 years ago)
Author:
craigc
Message:

[packages] multiwan: Changed sed to simply remove the last digit.

Location:
packages/net/multiwan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/multiwan/Makefile

    r21431 r21433  
    1010PKG_NAME:=multiwan 
    1111PKG_VERSION:=1.0.11 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • packages/net/multiwan/files/usr/bin/multiwan

    r21431 r21433  
    706706roundlen=`expr length $rand_probability - 1` 
    707707roundme=${rand_probability:$roundlen} 
    708 rand_probability=$(echo $rand_probability | sed s/$roundme//) 
     708rand_probability=$(echo $rand_probability | sed 's/\(..\)\(.\)/\1/g') 
    709709         
    710710        if [ $roundme -ge 5 ]; then 
Note: See TracChangeset for help on using the changeset viewer.