From 41e9cf2a5e0f3542786d3d1f89609ffa7c4533ac Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Fri, 17 Feb 2023 11:36:43 +0000 Subject: [PATCH] moved i3 into archive --- .../i3_wurrkspaces}/i3_wurrkspaces.nimble | 0 .../i3_wurrkspaces}/src/i3_wurrkspaces.nim | 0 compile_urrl.sh | 10 +++++----- 3 files changed, 5 insertions(+), 5 deletions(-) rename {i3_wurrkspaces => archive/i3_wurrkspaces}/i3_wurrkspaces.nimble (100%) rename {i3_wurrkspaces => archive/i3_wurrkspaces}/src/i3_wurrkspaces.nim (100%) diff --git a/i3_wurrkspaces/i3_wurrkspaces.nimble b/archive/i3_wurrkspaces/i3_wurrkspaces.nimble similarity index 100% rename from i3_wurrkspaces/i3_wurrkspaces.nimble rename to archive/i3_wurrkspaces/i3_wurrkspaces.nimble diff --git a/i3_wurrkspaces/src/i3_wurrkspaces.nim b/archive/i3_wurrkspaces/src/i3_wurrkspaces.nim similarity index 100% rename from i3_wurrkspaces/src/i3_wurrkspaces.nim rename to archive/i3_wurrkspaces/src/i3_wurrkspaces.nim diff --git a/compile_urrl.sh b/compile_urrl.sh index 8a0cc3d..85341de 100755 --- a/compile_urrl.sh +++ b/compile_urrl.sh @@ -1,15 +1,15 @@ #!/bin/bash for dir in ./*; do - if [ -d $dir ]; then - if [[ $dir == "./" ]]; then + if [ -d "$dir" ]; then + if [[ "$dir" == "./" ]]; then continue fi - cd $dir - f=$(echo $dir | sed 's/\.\///') + cd "$dir" || exit + f=$(echo "$dir" | sed 's/\.\///') nimble install -y if [[ $1 == "install" ]]; then - sudo cp -v $f /usr/local/bin/$f + sudo cp -v "$f" "/usr/local/bin/$f" fi cd ../ fi