Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
+; Common utility functions used by scripts
(import '[java.nio.file Files FileSystems CopyOption StandardCopyOption])
(import '[java.nio.file Files FileSystems CopyOption StandardCopyOption])
(check-latest version)
(download-latest version architecture zip-file)
(extract-file-from-zip zip-file "bb" destination)
(check-latest version)
(download-latest version architecture zip-file)
(extract-file-from-zip zip-file "bb" destination)
- (fs/set-posix-file-permissions "/home/joseph/bin/bb" "rwxr-xr-x")
+ (fs/set-posix-file-permissions destination "rwxr-xr-x")
(io/delete-file zip-file)))
(io/delete-file zip-file)))