Fix ca-functions include path

This commit is contained in:
Valcho Nedelchev 2015-01-24 12:35:42 +00:00
parent a39c584d0a
commit 5f8a13b59a
5 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
#! /bin/bash #!/bin/bash
. "/home/alex/code/ca-scripts/lib/ca-functions" source $(dirname $(dirname $0))/lib/ca-functions
ALT_NAMES=() ALT_NAMES=()
QUALIFY=1 QUALIFY=1

View File

@ -1,6 +1,6 @@
#! /bin/bash #!/bin/bash
. "/home/alex/code/ca-scripts/lib/ca-functions" source $(dirname $(dirname $0))/lib/ca-functions
# XXX: Add an interactive mode to this script to obviate the need for a # XXX: Add an interactive mode to this script to obviate the need for a
# pre-existing config file? e.g. # pre-existing config file? e.g.

View File

@ -1,6 +1,6 @@
#! /bin/bash #!/bin/bash
. "/home/alex/code/ca-scripts/lib/ca-functions" source $(dirname $(dirname $0))/lib/ca-functions
usage() { usage() {
cat <<__EOT__ cat <<__EOT__

View File

@ -1,6 +1,6 @@
#! /bin/sh #!/bin/sh
. "/home/alex/code/ca-scripts/lib/ca-functions" source $(dirname $(dirname $0))/lib/ca-functions
usage() { usage() {
cat <<__EOT__ cat <<__EOT__

View File

@ -1,9 +1,9 @@
#! /bin/bash #!/bin/bash
# common functions for ca-scripts # Common functions for ca-scripts.
PROGNAME=$( basename $0 ) PROGNAME=$( basename $0 )
CONFFILE="/etc/ca-scripts.conf" CONFFILE="/etc/ca-scripts.conf"
SHAREDIR="/home/alex/code/ca-scripts/tpl" SHAREDIR=$(dirname $(dirname $0))/tpl
CRYPTKEY="-nodes" CRYPTKEY="-nodes"
INDEXTPL="index-html" INDEXTPL="index-html"