Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jul 2, 2019
1 parent d68b2a3 commit 6c6c1ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function compileAndInstallFromSource()

initializeFolder "${installFolderPath}"

local -r currentWorkingDirectory="$(pwd)"
local -r tempFolder="$(getTemporaryFolder)"

unzipRemoteFile "${downloadURL}" "${tempFolder}"
Expand All @@ -83,6 +84,7 @@ function compileAndInstallFromSource()
make install
chown -R "${user}:$(getUserGroupName "${user}")" "${installFolderPath}"
symlinkUsrBin "${installFileOrFolderBinPath}"
cd "${currentWorkingDirectory}"
rm -f -r "${tempFolder}"
}

Expand Down

0 comments on commit 6c6c1ff

Please sign in to comment.