aboutsummaryrefslogtreecommitdiff
path: root/runs-all/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'runs-all/env.sh')
-rwxr-xr-xruns-all/env.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/runs-all/env.sh b/runs-all/env.sh
index 970fe3f..a3ae7e7 100755
--- a/runs-all/env.sh
+++ b/runs-all/env.sh
@@ -1,7 +1,7 @@
#!/bin/sh
echo DEPLOYING ENV ALL
-cp -r $script_dir/env/. "$DEV_ENV"
-[ -d "$script_dir/env_private/env/" ] && cp -r $script_dir/env_private/env/. "$DEV_ENV"
+cp -r "$script_dir/env/." "$DEV_ENV"
+[ -d "$script_dir/env_private/env/" ] && cp -r "$script_dir/env_private/env/." "$DEV_ENV"
if [ ! -f "/etc/profile" ]; then
@@ -9,17 +9,17 @@ if [ ! -f "/etc/profile" ]; then
echo SKIPPING SETTING \$PATH
else
export PATH=""
- source /etc/profile
+ . /etc/profile
paths="$PATH"
- path_dirs="$(find $DEV_ENV/.local/bin/scripts -type d)"
+ path_dirs="$(find "$DEV_ENV/.local/bin/scripts" -type d)"
yt_cli_dir="$(find ~/stuff/ -name youtube-playlist-cli -type d)"
path_dirs="$path_dirs
$yt_cli_dir
$(find ~/stuff/ -name theme-setter -type d)
$(find ~/.local/bin/blender* -maxdepth 0 -type d)
-$(find $script_dir/keep/scripts -type d)
-$(find $script_dir/env_private/keep/scripts -type d)"
+$(find "$script_dir/keep/scripts" -type d)
+$(find "$script_dir/env_private/keep/scripts" -type d)"
for s in $path_dirs; do
echo "adding $s to path"