Skip to content

Commit

Permalink
fix sipdiff call to sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 27, 2017
1 parent 09d1263 commit e13b481
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/sipdiff
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ for file in $*; do

if ! grep -Fxq "$d/$f.sip" python/auto_sip.blacklist; then
echo -e "\033[0;31m$d/$f.sip is an automatically generated SIP file\033[0m"
echo -e " g) \x1B[4mg\x1B[0menerate the SIP file \033[0;32m./sripts/sipify.pl $header > $d/$f.sip\033[0m"
echo -e " g) \x1B[4mg\x1B[0menerate the SIP file \033[0;32m./scripts/sipify.pl $header > python/$d/$f.sip\033[0m"
echo -e " s) \x1B[4ms\x1B[0mhow the diff"
SHOW=NO
while read -n 1 n; do
echo ""
case $n in
g)
echo "Generating the SIP file ..."
${DIR}/scripts/sipify.pl ${DIR}/$header > ${DIR}/python/$d/$f.sip
pushd ${DIR}
./scripts/sipify.pl $header > python/$d/$f.sip
popd
break
;;
s)
Expand Down

0 comments on commit e13b481

Please sign in to comment.