From 1d94a4ff407e5448efbc7e7cde51ead275846cb1 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Fri, 15 Apr 2011 19:17:41 -0700 Subject: [PATCH] Srcdir is the argument itself, not its dirname --- tools/release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/release.sh b/tools/release.sh index c4177d89..23d41a5d 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -8,8 +8,7 @@ if [ ! -d $1 ]; then exit 1 fi -srcdir=`dirname $1` -srcdir=`cd $srcdir && pwd` +srcdir=`cd $1 && pwd` if [ "`cd $srcdir && hg st`" ]; then echo "uncommitted changes, aborting"