You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
396 B
Plaintext
27 lines
396 B
Plaintext
9 years ago
|
#!/bin/bash
|
||
|
#
|
||
|
# Quick and dirty extracter to get the EC image out of the iso file
|
||
|
#
|
||
|
# TODO:
|
||
|
# - a tool that is portable to Windows
|
||
|
# - should output dependancy information
|
||
|
|
||
|
INP="$1"
|
||
|
if [ -z "$INP" ]; then
|
||
|
echo Need input filename
|
||
|
exit 1
|
||
|
fi
|
||
|
shift
|
||
|
|
||
|
OUT="$1"
|
||
|
if [ -z "$OUT" ]; then
|
||
|
echo Need output filename
|
||
|
exit 1
|
||
|
fi
|
||
|
shift
|
||
|
|
||
9 years ago
|
set -x
|
||
|
|
||
9 years ago
|
cd mec-tools && ./mec_repack "../$INP" "../$OUT"
|
||
|
|