summaryrefslogtreecommitdiff
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
parentf5e625cc9570f9f5ad2db4b9d1aa774715156ffa (diff)
downloadliw-automation-103bd28809b94555a810f3f4179bdd004617051f.tar.gz
Make sd-all work even if not run from home dir.
-rw-r--r--debian/changelog6
-rwxr-xr-xscripts/sd-all2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9031d91..6f92d8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+liw-automation (8.7) squeeze; urgency=low
+
+ * Make sd-all work even if not run from home dir.
+
+ -- Lars Wirzenius <liw@liw.fi> Sun, 09 Jan 2011 14:40:11 +0000
+
liw-automation (8.6) squeeze; urgency=low
* Add sd-all script.
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 }