mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
28 lines
390 B
Bash
Executable File
28 lines
390 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Quick and dirty encryptor
|
|
# Copyright (C) 2016 Hamish Coleman
|
|
#
|
|
# TODO:
|
|
# - a tool that is portable to Windows
|
|
# - should output dependency 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
|
|
|
|
set -x
|
|
|
|
cd mec-tools && ./mec_repack "../$INP" "../$OUT"
|
|
|