Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 23 Jul 2012 03:28:15 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: john.bash_completion: improve comments

On 2012-07-12 15:25, Frank Dittrich wrote:
> Main reason for this change was to point out that
> $BASH_COMPLETION_DIR exists and might be set to some other directory
> than /etc/bash_completion.d/ (and to remind magnum to possibly adjust
> the bash-completion make target ;)

I can't use it in Makefile (it produces an empty string). Try this:
sed -ri 's#/etc/bash_completion.d#$(BASH_COMPLETION_DIR)#g' Makefile

It will end up copying the file to the root directory. I presume make
calls the shell as /bin/sh, leading to bash behaving differently.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ