From 3b6a2e992f036c9fb4e2dedd156e6296cdb39820 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 23 Feb 2009 13:46:30 +0100 Subject: godot should write the md5sum from the directory from where it is checked later --- godot.sh | 8 ++++++-- 1 file 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 -- cgit v1.2.3