Changeset 29157


Ignore:
Timestamp:
2011-11-15T18:41:50+01:00 (6 years ago)
Author:
jow
Message:

[packages] wide-dhcpv6: now that hexdump works again, fix endianess detection (#10396)

Location:
packages/ipv6/wide-dhcpv6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/wide-dhcpv6/Makefile

    r28929 r29157  
    1010PKG_NAME:=wide-dhcpv6 
    1111PKG_VERSION:=20080615 
    12 PKG_RELEASE:=7 
     12PKG_RELEASE:=8 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/ipv6/wide-dhcpv6/files/dhcp6c.init

    r28079 r29157  
    3434 
    3535                        # low endian 
    36                         if [ "$(printf \\1 | hexdump -n1 -ve '8/2 "%04x"')" = "0001" ]; then 
     36                        if [ "$(printf \\1 | hexdump -n1 -ve '8/2 "" "%04x" ""')" = "0001" ]; then 
    3737                                printf \\x0a\\x00 
    3838 
Note: See TracChangeset for help on using the changeset viewer.