Artifact ffca3d02bb684a4ab4532d1da6120af0061a8b23:
- Executable file nacl/tools/nexe2nmf — part of check-in [c38762ae52] at 2011-04-03 23:35:46 on branch ferrieux-nacl — New branch ferrieux-nacl : a port of Tcl to Google's Nacl (Native Client) (user: alex, size: 203) [annotate] [blame] [check-ins using]
#! /bin/sh
case $# in
1) ;;
*) echo "Usage: nexe2nmf <file.nexe>">&2;exit 1;;
esac
fn=`echo "$1" | sed -e 's/[.]nexe$//'`.nmf
cat > $fn << EOF
{
"nexes": {
"x86-32": "$1",
}
}
EOF
exit 0