removed script_dir_2
This commit is contained in:
parent
5c3d0362a2
commit
63cfe97908
|
@ -1,9 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
script_dir_2="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
||||||
|
|
||||||
echo DEPLOYING ENV ALL
|
echo DEPLOYING ENV ALL
|
||||||
cp -r $script_dir_2/../env/. "$DEV_ENV"
|
cp -r $script_dir/env/. "$DEV_ENV"
|
||||||
[ -d "$script_dir_2/../env_private/env/" ] && cp -r $script_dir_2/../env_private/env/. "$DEV_ENV"
|
[ -d "$script_dir/env_private/env/" ] && cp -r $script_dir/env_private/env/. "$DEV_ENV"
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f "/etc/profile" ]; then
|
if [ ! -f "/etc/profile" ]; then
|
||||||
|
|
18
runs/env.sh
18
runs/env.sh
|
@ -1,16 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
script_dir_2="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
||||||
|
|
||||||
echo DEPLOYING ENV
|
echo DEPLOYING ENV
|
||||||
|
|
||||||
cp $script_dir_2/../env/.bashrc "$DEV_ENV"
|
cp $script_dir/env/.bashrc "$DEV_ENV"
|
||||||
cp $script_dir_2/../env/.bash_profile "$DEV_ENV"
|
cp $script_dir/env/.bash_profile "$DEV_ENV"
|
||||||
cp $script_dir_2/../env/.vimrc "$DEV_ENV"
|
cp $script_dir/env/.vimrc "$DEV_ENV"
|
||||||
cp $script_dir_2/../env/.markdownlint.yaml "$DEV_ENV"
|
cp $script_dir/env/.markdownlint.yaml "$DEV_ENV"
|
||||||
mkdir "$DEV_ENV/.config"
|
mkdir "$DEV_ENV/.config"
|
||||||
cp $script_dir_2/../env/.config/.profile "$DEV_ENV/.config"
|
cp $script_dir/env/.config/.profile "$DEV_ENV/.config"
|
||||||
cp -r $script_dir_2/../env/.config/nvim "$DEV_ENV/.config"
|
cp -r $script_dir/env/.config/nvim "$DEV_ENV/.config"
|
||||||
cp -r $script_dir_2/../env/.config/tmux "$DEV_ENV/.config"
|
cp -r $script_dir/env/.config/tmux "$DEV_ENV/.config"
|
||||||
cp -r $script_dir_2/../env/.config/wezterm "$DEV_ENV/.config"
|
cp -r $script_dir/env/.config/wezterm "$DEV_ENV/.config"
|
||||||
|
|
||||||
echo -----------------
|
echo -----------------
|
||||||
|
|
Loading…
Reference in New Issue