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