make scripts/ipkg more portable by using printf instead of echo -n