From b1f05b93df412dba298e54315da06797b0ca73ca Mon Sep 17 00:00:00 2001 From: Noah Zoschke Date: Fri, 4 Nov 2011 09:47:47 -0700 Subject: [PATCH] dont cd --- bin/release | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/release b/bin/release index 7c036e2..33950ac 100755 --- a/bin/release +++ b/bin/release @@ -1,12 +1,10 @@ #!/usr/bin/env bash # bin/release -BIN_DIR=$(dirname $0) +BIN_DIR=$(cd $(dirname $0); pwd) # absolute path BUILD_DIR=$1 NAME=$($BIN_DIR/detect $BUILD_DIR) || exit 1 -cd $BUILD_DIR - cat <