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=()
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
# 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() {
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() {
cat <<__EOT__

View File

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