aboutsummaryrefslogtreecommitdiff
path: root/fix-dotfile-paths.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fix-dotfile-paths.sh')
-rwxr-xr-xfix-dotfile-paths.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh
index a31c7a4..e8d04c3 100755
--- a/fix-dotfile-paths.sh
+++ b/fix-dotfile-paths.sh
@@ -25,7 +25,7 @@ create_ls_entry () {
elif echo "$file" | grep -q "\.org$" && [ "$file" != "index.org" ]; then
new_file=$(echo "$file" | sed 's/\.org$//')
html=$(echo "$file" | sed 's/\.org$/\.html/')
- echo "- [[$2$1$html][=$new_file=]]" >> index.org
+ echo "- [[./$html][=$new_file=]]" >> index.org
fi
done
fi
@@ -41,7 +41,7 @@ create_dir_tree () {
dir=$(echo "$dir" | sed 's/^\.\///')
- create_ls_entry "$dir/" "$URLROOT"
+ create_ls_entry "$dir/"
cd "$ROOT" || exit
done