Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / deployments / advanced / code.sh
1 #!/bin/bash
2
3 use () {
4
5    echo "Use: $0 <xml_file>"
6    echo
7    echo "Creates '<xml_file>.hex' with encoded result."
8    echo
9    exit
10 }
11
12 echo
13 [[ "$1" = "" ]] && use
14 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
15 echo
16 ./operation.sh "code|$1|${1}.hex"
17