mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
init fixes for windows
This commit is contained in:
4
main.sh
4
main.sh
@@ -38,7 +38,7 @@ src_scripts() {
|
||||
export FB_RUNNING_AS_SCRIPT=1
|
||||
thisFile="$(readlink -f "$0")"
|
||||
export REPO_DIR="$(cd "$(dirname "${thisFile}")/.." && echo "$PWD")"
|
||||
source "${REPO_DIR}/main.sh" || return 1
|
||||
source "${REPO_DIR}/main.sh" || exit 1
|
||||
scr_name="$(bash_basename $0)"
|
||||
cmd="${scr_name//.sh/}"
|
||||
if [[ $DEBUG == 1 ]]; then set -x; fi
|
||||
@@ -71,8 +71,6 @@ set_completions() {
|
||||
done
|
||||
}
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
test -f "${HOME}/.bashrc" && source "${HOME}/.bashrc"
|
||||
src_scripts || return 1
|
||||
determine_pkg_mgr || return 1
|
||||
check_compile_opts_override || return 1
|
||||
|
||||
Reference in New Issue
Block a user