'set -e' in bin/portzap, libexec/
And mv 'commands/*' to 'functions/*'.
This commit is contained in:
parent
de49e10ef8
commit
367a9af511
7 changed files with 9 additions and 7 deletions
12
bin/portzap
12
bin/portzap
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Variables
|
||||
base_dir=$(dirname "$0")
|
||||
|
@ -13,13 +13,11 @@ libexec_dir=$(realpath "$base_dir/../libexec/portzap/")
|
|||
clone_mask=007
|
||||
pull_mask=007
|
||||
|
||||
# Commands
|
||||
. "$libexec_dir/commands/portzap-install"
|
||||
. "$libexec_dir/commands/portzap-pull"
|
||||
. "$libexec_dir/commands/portzap-clone"
|
||||
|
||||
# Functions
|
||||
. "$libexec_dir/functions/requirements.sh"
|
||||
. "$libexec_dir/functions/portzap-install"
|
||||
. "$libexec_dir/functions/portzap-pull"
|
||||
. "$libexec_dir/functions/portzap-clone"
|
||||
. "$libexec_dir/functions/requirements"
|
||||
|
||||
case $1 in
|
||||
"clone")
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
ports_dir=$1
|
||||
libexec_dir=$2
|
||||
group=_portzap
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
dest=$1
|
||||
group=_portzap
|
||||
mode=u=rw,g=rw,o=
|
||||
|
|
Loading…
Reference in a new issue