Browse Source

Move the functions script

signals
Gavin Howard 3 years ago
parent
commit
6e70f557df
Signed by untrusted user who does not match committer: gavin
GPG Key ID: C08038BDF280D33E
  1. 2
      catalogs.sh
  2. 0
      functions.sh
  3. 2
      install.sh
  4. 2
      locale_install.sh
  5. 2
      locale_uninstall.sh
  6. 2
      tests/errors.sh
  7. 2
      tests/read.sh

2
catalogs.sh

@ -17,7 +17,7 @@
script="$0"
scriptdir=$(dirname "$script")
. "$scriptdir/tests/functions.sh"
. "$scriptdir/functions.sh"
localedir="$scriptdir/locales"

0
tests/functions.sh → functions.sh

2
install.sh

@ -22,7 +22,7 @@ usage() {
script="$0"
scriptdir=$(dirname "$script")
. "$scriptdir/tests/functions.sh"
. "$scriptdir/functions.sh"
INSTALL="$scriptdir/safe-install.sh"

2
locale_install.sh

@ -22,7 +22,7 @@ usage() {
script="$0"
scriptdir=$(dirname "$script")
. "$scriptdir/tests/functions.sh"
. "$scriptdir/functions.sh"
INSTALL="$scriptdir/safe-install.sh"

2
locale_uninstall.sh

@ -22,8 +22,6 @@ usage() {
script="$0"
scriptdir=$(dirname "$script")
. "$scriptdir/tests/functions.sh"
INSTALL="$scriptdir/safe-install.sh"
test "$#" -ge 2 || usage

2
tests/errors.sh

@ -19,7 +19,7 @@
script="$0"
testdir=$(dirname "$script")
. "$testdir/functions.sh"
. "$testdir/../functions.sh"
if [ "$#" -eq 0 ]; then
printf 'usage: %s dir [exec args...]\n' "$script"

2
tests/read.sh

@ -19,7 +19,7 @@ set -e
script="$0"
testdir=$(dirname "$script")
. "$testdir/functions.sh"
. "$testdir/../functions.sh"
if [ "$#" -lt 1 ]; then
printf 'usage: %s dir [exe [args...]]\n' "$0"

Loading…
Cancel
Save