aboutsummaryrefslogtreecommitdiff
path: root/phlogmap
diff options
context:
space:
mode:
Diffstat (limited to 'phlogmap')
-rwxr-xr-xphlogmap6
1 files changed, 3 insertions, 3 deletions
diff --git a/phlogmap b/phlogmap
index 211eb28..b6ecabc 100755
--- a/phlogmap
+++ b/phlogmap
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# build gophermap
-cd $HOME/src/gopher/phlog
+cd "$HOME/src/gopher/phlog"
echo "+-----------------------------------+" > gophermap
echo "| Phil's Phlog |" >> gophermap
@@ -12,8 +12,8 @@ echo "" >> gophermap
dirs=($(ls -dr */))
for dir in "${dirs[@]}"; do
- dt=$(echo $dir| cut -c 1-10)
- title="$(head -n 1 $dir/gophermap)"
+ dt=$(echo "$dir" | cut -c 1-10)
+ title="$(head -n 1 "$dir/gophermap")"
echo -e "1$dt $title\t/phlog/$dir\tspike.nagatha.fr\t70" >> gophermap
done