Scale icon indicating copy to clipboard operation
Scale copied to clipboard

Change the default shebang in docs to use /usr/bin/env

Open guillep opened this issue 9 years ago • 8 comments

Like

! /usr/bin/env scale

This will make script use the scale version that is found in the path. Like that people may have different installations and use the one they want given their current configuration.

guillep avatar Oct 24 '16 08:10 guillep

Good idea! It goes for next version, since it will use this as excuse for changing the code browser :). (Now it checks the shebang to know what scriptrunner to use as container on the browser.)

sbragagnolo avatar Oct 24 '16 09:10 sbragagnolo

Hi, should it be like user specifying which version to run, before running the command?

rajula96reddy avatar Mar 15 '17 09:03 rajula96reddy

Maybe. A user wanting to use a specific version of scale write instead:

!/usr/bin/env scale
!/usr/bin/env scale-2.7
!/usr/bin/env scale-3

Of course that would require having available in PATH all scale versions. That could be done "à la" linux by adding symlinks of course

guillep avatar Mar 15 '17 09:03 guillep

Maybe the scale bash script can be edited and user can be prompted for version and that specific version can be invoked. And apart from this, what more can be done for this?

rajula96reddy avatar Mar 15 '17 09:03 rajula96reddy

The main intention of this issue is to update the documentation. New features or the scale GUI support should be discussed in separate issues please.

guillep avatar Mar 15 '17 10:03 guillep

Sorry.! My fault. Will do it in a new issue.

rajula96reddy avatar Mar 15 '17 10:03 rajula96reddy

Thanks, in any case, I think updating the readme would be already a good contribution.

guillep avatar Mar 15 '17 10:03 guillep

Thank you. I will try to contribute to the readme.

rajula96reddy avatar Mar 15 '17 10:03 rajula96reddy