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/moc-tqt

12 lines
187 B

#!/bin/bash
if [[ $1 == "" ]]; then
echo "Usage: moc-tqt <moc_binary> <input_file> <output_file>"
else
cp -Rp $2 $2.bkp
tqt-replace $2
$1 $2 -o $3
cp -Rp $2.bkp $2
rm -f $2.bkp
fi