Make node environment scripts simpler
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
desired_dir=${script_dir}/../NodeJS/12.22.12/bin
|
||||
desired_exe=${desired_dir}/node
|
||||
PATH=${desired_dir}:${PATH}
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
||||
|
||||
${desired_exe} $@
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
path_to_add=${devenver_root}/NodeJS/12.22.12/bin
|
||||
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||
|
||||
PATH=${path_to_add}:${PATH} $@
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
desired_dir=${script_dir}/../NodeJS/16.19.0/bin
|
||||
desired_exe=${desired_dir}/node
|
||||
PATH=${desired_dir}:${PATH}
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
||||
|
||||
${desired_exe} $@
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
path_to_add=${devenver_root}/NodeJS/16.19.0/bin
|
||||
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||
|
||||
PATH=${path_to_add}:${PATH} $@
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/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}/node
|
||||
PATH=${desired_dir}:${PATH}
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
||||
|
||||
${desired_exe} $@
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||
path_to_add=${devenver_root}/NodeJS/18.15.0/bin
|
||||
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||
|
||||
PATH=${path_to_add}:${PATH} $@
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
desired_dir=${script_dir}/../NodeJS/12.22.12/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} $@
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
desired_dir=${script_dir}/../NodeJS/16.19.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} $@
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/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} $@
|
||||
|
||||
Reference in New Issue
Block a user