Arg fool proof
This commit is contained in:
parent
8f7aed51bb
commit
055a7ef6a9
@ -29,6 +29,12 @@ function pvt() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [[ -z "$ARG3" ]]; then
|
||||||
|
>&2 echo "Error: LAND_DIR is not defined"
|
||||||
|
pvt
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
IFS="/" read -a PWDA <<< "$(pwd)"
|
IFS="/" read -a PWDA <<< "$(pwd)"
|
||||||
|
|
||||||
# Begin finding dirs in up-stack
|
# Begin finding dirs in up-stack
|
||||||
|
Loading…
Reference in New Issue
Block a user