From 0f61fa4c95c25c0e9f30cc10b6aa3b005d26e3ca Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 27 Jun 2015 08:55:45 +0200 Subject: [PATCH] fix(deploy): adjust linux script to target dir Previously it attempted to find build-artifacts in the 'gen' directory, now these are all found in 'target', provided cargo 0.3.0 is used. [skip ci] --- src/bash/linux-deploy.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bash/linux-deploy.bash b/src/bash/linux-deploy.bash index b7c5f2fe55..55a8f6166c 100755 --- a/src/bash/linux-deploy.bash +++ b/src/bash/linux-deploy.bash @@ -5,5 +5,5 @@ rtype=${2:?Second argument is either 'release' or 'debug'} tar_basename=google-apis-rs_cli-${version}_linux-x86-64_${rtype} tar_file=${tar_basename}.tar.gz -tar -czf $tar_file --transform "s%^.*/%%" -T <(find gen -executable -type f -path "*/${rtype}/*" -not \( -name "*.*" -or -name "*script*" -or -regex ".*-[a-f0-9]{16}" \)) || exit $? +tar -czf $tar_file --transform "s%^.*/%%" -T <(find target -executable -type f -path "*/${rtype}/*" -not \( -name "*.*" -or -name "*script*" -or -regex ".*-[a-f0-9]{16}" \)) || exit $? echo Wrote $tar_file