Skip to content

Commit

Permalink
flatten symbolic links in deployed archives, (travis for linux/mac).
Browse files Browse the repository at this point in the history
This fixes problems with mvn on windows when unarchiving linux and mac
archives.
  • Loading branch information
jcschaff committed Nov 7, 2017
1 parent c563261 commit aee35d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ before_deploy:
chmod u+w,+x *
tar czvf ../mac64_bad_paths.tgz .
../../.travis/install_name_tool_macos.sh
tar czvf ../mac64.tgz .
tar czvf ../mac64.tgz --dereference .
cd ../..
else
cd build/bin
ls *_x64 | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
ls *.so | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
ls *.so | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
chmod u+w,+x *
tar czvf ../linux64.tgz .
tar czvf ../linux64.tgz --dereference .
cd ../..
fi
Expand Down

0 comments on commit aee35d0

Please sign in to comment.