Skip to content

Commit

Permalink
Fixes conda.sh if destination path is relative
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Feb 16, 2015
1 parent d7fc02e commit eb32a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/conda/conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -e

# This script automatically builds Conda packages

DEST_DIR="$(pwd)/$1"

cd "$(dirname "$0")/../.."
TOPLEVEL="$(pwd)"

Expand All @@ -23,8 +25,6 @@ else
VERSION="$2"
fi

DEST_DIR="$1"

sedi(){
TEMPFILE=$(mktemp /tmp/rpz_conda_XXXXXXXX)
sed "$1" "$2" > $TEMPFILE
Expand Down

0 comments on commit eb32a33

Please sign in to comment.