Replace $0 -> $_ in env
This commit is contained in:
parent
461f3d3ef0
commit
18ee74e3d9
2 changed files with 5 additions and 4 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
./eh_frame_check
|
||||
./glibc
|
||||
./venv
|
||||
eh_frame_check
|
||||
glibc
|
||||
venv
|
||||
|
|
3
env
3
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
|
||||
|
|
Loading…
Reference in a new issue