From: Oleg Broytman Date: Sat, 1 Nov 2014 23:39:31 +0000 (+0300) Subject: Use expr instead of python X-Git-Url: https://git.phdru.name/?p=audio-cdr-video.git;a=commitdiff_plain;h=cb2704d43b9c3070d78b60193cbcaef33d1b525a Use expr instead of python --- diff --git a/video/calc_bitrate b/video/calc_bitrate index e680ac9..e5091fd 100755 --- a/video/calc_bitrate +++ b/video/calc_bitrate @@ -18,4 +18,4 @@ else bpp="$4" fi -echo bitrate = "$width * $height * $fps * $bpp / 1000" = `python -c "print $width * $height * $fps * $bpp / 1000"` +echo bitrate = "$width * $height * $fps * $bpp / 1000" = `expr $width * $height * $fps * $bpp / 1000`