blob: 3b390c5dc7fc5248a3695094f0c792326b8676ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
if [[ $1 == "" ]]; then
echo "Usage: mcopidl-tqt <mcopidl_binary> <options> <input_file>"
else
cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp
# tqt-replace ${BASH_ARGV[0]}
$@
cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]}
rm -f ${BASH_ARGV[0]}.bkp
fi
|