File pre_checkin.sh of Package mjpegtools

#!/bin/sh

for i in mjpegtools-*tar.bz2 ; do
  case $i in *patched*) continue ;; esac
  test -f ${i//.tar./-patched.tar.} && continue
  bash mjpegtools-codecpatch.sh $PWD $i ${i//.tar./-patched.tar.}
done