[CRIU] [PATCH 5/9] crit: add crit

Ruslan Kuprieiev kupruser at gmail.com
Fri Oct 17 03:39:03 PDT 2014


Hi Tycho!

On 17.10.2014 12:54, Tycho Andersen wrote:
> Hi Ruslan,
>
> Thanks for doing this, it looks like a useful tool!
>
> On Wed, Oct 08, 2014 at 01:35:28PM +0300, Ruslan Kuprieiev wrote:
>> crit is a python script that helps user to manipulate criu
>> images. For now, it can only convert criu images to\from
>> human-readable format using pycriu.images module.
>>
>> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
>> ---
>>   crit | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>   1 file changed, 75 insertions(+)
>>   create mode 100755 crit
>>
>> diff --git a/crit b/crit
>> new file mode 100755
>> index 0000000..2a106bd
>> --- /dev/null
>> +++ b/crit
>> @@ -0,0 +1,75 @@
>> +#!/bin/env python
> My env (on ubuntu) is in /usr/bin/env and I get a "bad interpreter"
> error if I don't point it to the right place. Is there some common way
> we can write the shebang to work for both?
>
> Tycho

Thanks for the report!

Using /usr/bin/env and /bin/env works equally fine for me on
my Fedora. Looks like one is a link to the other. After a bit
of googling it looks like using /usr/bin/env is a more common
way. So I'll just use /usr/bin/env in the next version of this patch set.

Thanks,
Ruslan


More information about the CRIU mailing list