Skip to content

Commit

Permalink
Add handling of relative paths to create.sh
Browse files Browse the repository at this point in the history
Contribution by Michael Kennedy
  • Loading branch information
iankouls authored Jun 13, 2018
1 parent 509b770 commit 1b18b51
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions create.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash

if [ -z "$1" ]; then
dest=$(pwd)/out
else
dest=$1
dest=$(pwd)/out
elif [[ "$1" = /* ]]; then
dest=$1
else
dest=$(pwd)/$1
fi

export dod_url=https://github.com/bhgedigital/depend-on-docker/trunk/linux/
Expand Down

0 comments on commit 1b18b51

Please sign in to comment.