mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-07-21 21:45:21 +00:00
update readme and warning
This commit is contained in:
+4
-3
@@ -705,9 +705,10 @@ build() {
|
||||
local ffmpeg="$(command -v ffmpeg 2>/dev/null)"
|
||||
if [[ ${ffmpeg} != "${ffmpegBin}" ]]; then
|
||||
echo
|
||||
echo_warn "ffmpeg in path (${ffmpeg}) is not the built one (${ffmpegBin})"
|
||||
echo_info "consider adding ${BINDIR} to \$PATH"
|
||||
echo "echo 'export PATH=\"${BINDIR}:\$PATH\"' >> ~/.bashrc"
|
||||
echo_warn "ffmpeg in PATH (${ffmpeg}) is not the built one (${ffmpegBin})"
|
||||
local homeAwareBin="${BINDIR//${HOME}/\$HOME}"
|
||||
echo_info "consider adding ${homeAwareBin} to \$PATH"
|
||||
echo "echo 'export PATH=\"${homeAwareBin}:\$PATH\"' >> ~/.bashrc"
|
||||
fi
|
||||
|
||||
package || return 1
|
||||
|
||||
Reference in New Issue
Block a user