DEVenv/Linux/Scripts/npm-18.15.0.sh

14 lines
342 B
Bash
Executable File

#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/18.15.0/bin
desired_exe=${desired_dir}/npm
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@