You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqtinterface/qtinterface/mcopidl-tqt

12 lines
261 B

#!/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