summaryrefslogtreecommitdiffstats
path: root/qtinterface/mcopidl-tqt
blob: 35d23e1ed5888d9176f106a92a1a70e841d3367c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

if [[ $1 == "" ]]; then
	echo "Usage: mcopidl-tqt <mcopidl_binary> <options> <input_file>"
else
	cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp
	$@
	cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]}
	rm -f ${BASH_ARGV[0]}.bkp
fi