summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-01-09 14:40:27 +0000
committerLars Wirzenius <liw@liw.fi>2011-01-09 14:40:27 +0000
commit103bd28809b94555a810f3f4179bdd004617051f (patch)
tree6041e132803a5aad1a340858d439e323bc278243 /scripts
parentf5e625cc9570f9f5ad2db4b9d1aa774715156ffa (diff)
downloadliw-automation-103bd28809b94555a810f3f4179bdd004617051f.tar.gz
Make sd-all work even if not run from home dir.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sd-all2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/sd-all b/scripts/sd-all
index 4156a63..36c4514 100755
--- a/scripts/sd-all
+++ b/scripts/sd-all
@@ -2,6 +2,8 @@
set -e
+cd $HOME
+
awk '
NF == 0 { next }
$1 ~ /#/ { next }