summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-05-01 17:32:07 -0400
committerJune McEnroe <programble@gmail.com>2017-05-01 17:32:07 -0400
commit8f0b36f1a8229b380d048e667590e814c94e21b9 (patch)
treed9fff6c0cd9d85ad80179fff1a1f7964b6305047
parentClean up SSH config (diff)
downloadsrc-8f0b36f1a8229b380d048e667590e814c94e21b9.tar.gz
src-8f0b36f1a8229b380d048e667590e814c94e21b9.zip
Fix prune script
The for loop was overriding zsh's $path variable, causing it to not be
able to find rm.
Diffstat (limited to '')
-rwxr-xr-xprune.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/prune.sh b/prune.sh
index cc6e2444..361e1a97 100755
--- a/prune.sh
+++ b/prune.sh
@@ -4,9 +4,9 @@
 
 set -o errexit -o nounset -o pipefail
 
-paths=$(find -L ~ -type l -lname "$PWD/*")
+links=$(find -L ~ -type l -lname "$PWD/*")
 
-for path in $paths; do
-  rm "$path"
-  echo "$path"
+for link in $links; do
+  rm "$link"
+  echo "$link"
 done
'2019-05-19 19:08:21 -0400'>2019-05-19Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe