Skip to content
Snippets Groups Projects
Commit 5213c0a6 authored by Michael Gajda's avatar Michael Gajda :rat:
Browse files

Allow wildcards

parent 2b670c06
Branches
No related tags found
No related merge requests found
......@@ -9,8 +9,9 @@ USAGE="$0 <FILE/DIR>"
: ${1?Usage: $USAGE}
DIR=$(basename ${TRAVIS_SLUG})-${TRAVIS_BRANCH}
#wget https://raw.githubusercontent.com/foss-ag/script_curl-dirup/v1.0.0/curl-dirup.sh -O curl-dirup.sh && chmod +x curl-dirup.sh
[ -z $DIR ] && echo "Travis env not found" && exit 1
wget https://raw.githubusercontent.com/foss-ag/script_curl-dirup/v1.0.0/curl-dirup.sh -O curl-dirup.sh && chmod +x curl-dirup.sh
mkdir -p ${DIR}
cp -a $1 ${DIR}
cp -a $@ ${DIR}
./curl-dirup.sh https://cloud.foss-ag.de/remote.php/webdav/foss-ag_buildbot foss-ag_buildbot:$PDFPW ${DIR}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment