Skip to content

Commit

Permalink
Introduce PKGDIR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Oct 26, 2015
1 parent 3375c77 commit 4622b8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/conda/conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ for PYTHONVER in 2.7 3.5; do
for PKGNAME in reprozip reprounzip reprounzip-docker reprounzip-vagrant reprounzip-vistrails; do
TEMP_DIR="$(mktemp -d /tmp/rr_conda_XXXXXXXX)"

cd "$TOPLEVEL/$PKGNAME"
PKGDIR="$TOPLEVEL/$PKGNAME"
cd "$PKGDIR"

# Builds source distribution
if ! python setup.py sdist --dist-dir "$TEMP_DIR"; then
Expand Down Expand Up @@ -81,7 +82,7 @@ for PYTHONVER in 2.7 3.5; do
fi

# Copies result out
cd "$TOPLEVEL/$PKGNAME"
cd "$PKGDIR"
cp "$OUTPUT_PKG" "$DEST_DIR/"

# Removes temporary directory
Expand Down

0 comments on commit 4622b8f

Please sign in to comment.