flat assembler
Message board for the users of flat assembler.
Index
> Linux > fasm setup bash scrpt (v0.1 alpha) |
Author |
|
scientica 26 Jul 2003, 06:55
I just installed version 1.48 with my script (now version 0.2, considered stable)
I added support (untested!) for bzip2 (de)compression, since my copy of fasm for linux was names fasl-1.48.tar.gz.bz2. (It turned out to be just tar-gziped, I saw that the download had the right extension now). Is there any one using my little script, or is posting it just a waist of bandwith? (p.s. .sh isn't allowed as extension so I gziped the script)
_________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||||||||||
26 Jul 2003, 06:55 |
|
gorshing 27 Jul 2003, 22:46
Code: # WARNING! # This script is an alpha version, this means it's still experimental # and is not to e considered stable or safe, use at you own risk. If # you are unsure wheter to run this script or not, **don't run it**! Welcome to the flat assembler (fasm) setup for version 1.47 Note: It's recomended to run this setup as root. Would you like to setup a symbolic link to fasm in /usr/bin? Note! If you intend to install fasm in /usr/bin select no (not recomended) [yes/no] yes Install fasm in /usr/local/bin? [yes/no] no Note! Specify the folder in which the fasm-1.47 is to be placed. This folder must exist, the fasm-1.47 directory will be created by the setup. Enter new target folder: /packages Unpacking to /packages... gunzip: /packages/fasm-1.47.tar.gz: No such file or directory Error: Unpacking failed! I did that on purpose. But anyways, when you return from do_unpack and test for return value, you might want to also remove the tmp.tar file. Although it is an empty file, it's not meant to be there Other than that, seems good to me ... I used it |
|||
27 Jul 2003, 22:46 |
|
scientica 28 Jul 2003, 10:47
Ah, now I see well positive thinking: first bug removed
Thanks for the bug report (I've put a bug history in the scirpt, a "Hall of Shame") I also removed the bzip2 support (I'll re-implent it if needed in the furture, now it only adds size and time ( )) [EDIT]If you want to use the script to install an other version of fasm than 1.48, simply change the fasm_version_str, here's an little example of how to make the script install version 1.48.9.5 (just an example): Code: set_all(){ fasm_version_str="1.48.9.5" the fasm package file name is "created" using this line: fasm-$fasm_version_str.tar.gz thus when fasm_version_str is changed to above it will look like this: fasm-1.48.9.5.tar.gz [/EDIT]
_________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||||||||||
28 Jul 2003, 10:47 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.