trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: August 2018

Re: [trinity-users] update this morning=347 pkgs from trinity?

From: Stefan Krusche <linux@...>
Date: Wed, 1 Aug 2018 22:09:19 +0200
Am Mittwoch 01 August 2018 schrieb Michael:
> and modifying the '/usr/bin/ni' script to:
>
> michael@local [~]# cat /usr/bin/no-internet
> #!/bin/bash
> COMMAND="$1"
> shift
> for arg; do
> COMMAND="$COMMAND \"$arg\""
> done
> sg no-internet "$COMMAND"

Why not just:

sg no-internet "$@"

which would do the same as the code above, AFAIU.

Kind regards,
Stefan