Fixed library linking and directory/path resolution

This commit is contained in:
Eric Renfro 2015-02-20 13:50:40 -05:00
parent 9da1b962aa
commit 781cd77bde
6 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
source $(dirname $(dirname $0))/../lib/ca-functions source $(dirname $(readlink -f $0))/../lib/ca-functions
ALT_NAMES=() ALT_NAMES=()
QUALIFY=1 QUALIFY=1

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
source $(dirname $(dirname $0))/../lib/ca-functions source $(dirname $(readlink -f $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
source $(dirname $(dirname $0))/../lib/ca-functions source $(dirname $(readlink -f $0))/../lib/ca-functions
usage() { usage() {
cat <<__EOT__ cat <<__EOT__

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
source $(dirname $(dirname $0))/../lib/ca-functions source $(dirname $(readlink -f $0))/../lib/ca-functions
usage() { usage() {
cat <<__EOT__ cat <<__EOT__

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
source $(dirname $(dirname $0))/../lib/ca-functions source $(dirname $(readlink -f $0))/../lib/ca-functions
usage() { usage() {
cat <<__EOT__ cat <<__EOT__

View file

@ -3,7 +3,7 @@
PROGNAME=$( basename $0 ) PROGNAME=$( basename $0 )
CONFFILE="/etc/ca-scripts.conf" CONFFILE="/etc/ca-scripts.conf"
SHAREDIR=$(dirname $(dirname $0))/../tpl SHAREDIR=$(dirname $(readlink -f $0))/../tpl
CRYPTKEY="-nodes" CRYPTKEY="-nodes"
INDEXTPL="index-html" INDEXTPL="index-html"