Bug 1890689 accumulate input in LargerReceiverBlockSizeThanDesiredBuffering GTest...
[gecko.git] / taskcluster / scripts / copy.sh
blob931145a3b6e164bc6fbac7bc56224577acf322a8
1 #! /bin/bash -ex
3 # This script copies the contents of the "scripts" folder into a docker
4 # container using tar/untar the container id must be passed.
6 DIRNAME=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
7 docker exec $1 mkdir -p $2
8 cd $DIRNAME
9 tar -cv * | docker exec -i $1 tar -x -C $2