Skip to content

Commit

Permalink
try and fix ubuntu remote install
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Dec 8, 2023
1 parent d4488c0 commit 8c9928c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@ set -e

kernelName="$(uname -s)"

# Function that computes absolute path of a file
abs_path() {
dir=$(dirname "$1")
cd "$dir" >/dev/null 2>&1
printf "%s/%s" "$(pwd)" "${1##*/}"
}

# Navigate to the directory where the current script resides
bashfile=$(abs_path "$0")
selfdir=$(dirname "$bashfile")
cd "$selfdir"
# Get the directory of the current script
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

# Change to that directory
cd "$script_dir"
echo changed to $(pwd)

# Check if install.py exists, if not, download it
Expand Down

0 comments on commit 8c9928c

Please sign in to comment.