File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ function mcd {
2424 cd " $1 " || fail
2525}
2626
27- sudo apt-get update -qq && sudo apt-get -y install \
27+ sudo apt-get update -qq || fail
28+ sudo apt-get -y install \
2829 autoconf automake build-essential cmake \
2930 git-core libass-dev libfreetype6-dev \
3031 libgnutls28-dev libsdl2-dev libtool \
@@ -160,7 +161,7 @@ PATH="$BIN_PATH:$PATH" PKG_CONFIG_PATH="$BUILD_PATH/lib/pkgconfig:$PKG_CONFIG_PA
160161 --enable-libx265 \
161162 --enable-shared \
162163 --enable-nonfree
163- PATH=" $HOME /bin :$PATH " make -j$( nproc) || fail
164+ PATH=" $BIN_PATH :$PATH " make -j$( nproc) || fail
164165sudo make install || fail
165166hash -r || fail
166167
@@ -174,4 +175,4 @@ export PATH=$BUILD_PATH:$PATH
174175export PKG_CONFIG_PATH=$BUILD_PATH /lib/pkgconfig:$PKG_CONFIG_PATH
175176export PKG_CONFIG_LIBDIR=$BUILD_PATH /lib/:$PKG_CONFIG_LIBDIR
176177
177- msg " According to the instructions from ffmpeg, you need to run \" source ~/.profile\" now."
178+ msg " According to the instructions from ffmpeg, you need to run \" source ~/.profile\" now. You may need to add \" ${BIN_PATH} \" to your \$ PATH. "
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ PATH="$BIN_PATH:$PATH" PKG_CONFIG_PATH="$BUILD_PATH/lib/pkgconfig:$PKG_CONFIG_PA
233233 --enable-libx265 \
234234 --enable-shared \
235235 --enable-nonfree
236- PATH=" $HOME /bin :$PATH " make -j$( nproc) || fail
236+ PATH=" $BIN_PATH :$PATH " make -j$( nproc) || fail
237237sudo make install || fail
238238hash -r || fail
239239
@@ -247,4 +247,4 @@ export PATH=$BUILD_PATH:$PATH
247247export PKG_CONFIG_PATH=$BUILD_PATH /lib/pkgconfig:$PKG_CONFIG_PATH
248248export PKG_CONFIG_LIBDIR=$BUILD_PATH /lib/:$PKG_CONFIG_LIBDIR
249249
250- msg " According to the instructions from ffmpeg, you need to run \" source ~/.profile\" now."
250+ msg " According to the instructions from ffmpeg, you need to run \" source ~/.profile\" now. You may need to add \" ${BIN_PATH} \" to your \$ PATH. "
You can’t perform that action at this time.
0 commit comments