summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xgodot.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/godot.sh b/godot.sh
index 3c4a068..72aa6e9 100755
--- a/godot.sh
+++ b/godot.sh
@@ -26,9 +26,13 @@ grep -v "^#\|^$" "${TARGET}/symlink-mapping" | \
fi
done
-# update hash of current symlink mapping
-md5sum "${TARGET}/symlink-mapping" > "${TARGET}/management/symlinks.md5"
+popd >/dev/null
+pushd "${HOME}/${TARGET}" >/dev/null
+
+# update hash of current symlink mapping
+md5sum "symlink-mapping" > "${TARGET}/management/symlinks.md5"
+
popd >/dev/null
echo