smart path detection
authorhaftmann
Sun, 18 Jan 2009 21:40:53 +0100
changeset 29556 7c128276aa93
parent 29555 8938f89973f3
child 29557 5362cc5ee3a8
smart path detection
Admin/churn
--- a/Admin/churn	Sun Jan 18 21:36:59 2009 +0100
+++ b/Admin/churn	Sun Jan 18 21:40:53 2009 +0100
@@ -1,3 +1,5 @@
 #!/bin/bash
 
-hg churn --aliases user-aliases --progress
\ No newline at end of file
+ADMIN="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; pwd)"
+cd "$ADMIN"
+hg churn --aliases user-aliases --progress