Skip to content
Snippets Groups Projects
  1. May 21, 2015
  2. Mar 22, 2015
  3. Mar 16, 2015
  4. Mar 10, 2015
  5. Mar 06, 2015
  6. Mar 01, 2015
  7. Feb 18, 2015
  8. Feb 09, 2015
  9. Dec 13, 2014
  10. Dec 11, 2014
  11. Dec 08, 2014
  12. Dec 02, 2014
  13. Dec 01, 2014
  14. Oct 24, 2014
  15. Jul 20, 2014
  16. Jul 16, 2014
  17. Jul 15, 2014
  18. Jul 10, 2014
  19. Jul 06, 2014
  20. Jun 02, 2014
    • John Crispin's avatar
      target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC · f933a741
      John Crispin authored
      
      ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
      var $# (=number of args) here. under normal conditions this had no impact,
      but we should at least correct it. the error was observable like this:
      
      root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
      root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
      root@box:~ . /lib/upgrade/platform.sh
      root@box:~ . /lib/upgrade/common.sh
      root@box:~ platform_check_image /tmp/myfirmware.bin
      ash: bad number
      root@box:~ echo $?
      0
      
      Signed-off-by: default avatarBastian Bittorf <bittorf@bluebottle.com>
      
      SVN-Revision: 40915
      f933a741
  21. Nov 07, 2013
  22. Jun 27, 2013
  23. Jun 05, 2013
  24. Mar 21, 2013
  25. Mar 17, 2013
  26. Feb 18, 2013
  27. Nov 29, 2012
  28. Nov 11, 2012
  29. Oct 29, 2012
  30. Jul 17, 2012
Loading