Remove an existing Boost folder when extracting

This commit is contained in:
Oliver Hamlet
2016-08-24 08:08:08 +01:00
parent 88fe425fa3
commit d7aacca73f
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -36,6 +36,8 @@ if (Is-LibraryMissing) {
Write-Output "Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
Remove-Item -Recurse -Force $boostFolder
Write-Output 'Extracting ' + $boostArchive + '...'
cd
7z x $boostArchive -o"C:\projects"
+1
View File
@@ -17,6 +17,7 @@ if isLibraryMissing; then
cd ~
wget https://downloads.sourceforge.net/project/boost/boost/1.61.0/${BOOST_BASENAME}.tar.bz2
rm -rf $BOOST_BASENAME
tar xf ${BOOST_BASENAME}.tar.bz2
cd $BOOST_BASENAME