diff --git a/.gitignore b/.gitignore index a129079..ca4e208 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -./eh_frame_check -./glibc -./venv +eh_frame_check +glibc +venv diff --git a/env b/env index bd03a71..af1131c 100755 --- a/env +++ b/env @@ -1,6 +1,7 @@ #!/bin/bash -base_dir="$(dirname "$(readlink -f "$0")")" +self_name="$_" # This file will be sourced! +base_dir="$(dirname "$(readlink -f "$self_name")")" if [ ! -d "$base_dir/glibc" ] || [ ! -d "$base_dir/eh_frame_check" ] \ || [ ! -d "$base_dir/venv" ]; then