summaryrefslogtreecommitdiffstats
path: root/qtinterface/dcopidlng-tqt
blob: 230f97546dd7ed237fdf41cc7944e8c3fd97cee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [[ $1 == "" ]]; then
	echo "Usage: dcopidlng-tqt <dcopidlng_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