diff --git a/bin/portzap b/bin/portzap index 75823e2..2ae38b4 100755 --- a/bin/portzap +++ b/bin/portzap @@ -13,7 +13,7 @@ pull_mask=007 # Commands . $libexec_dir/commands/portzap-install -. $libexec_dir/commands/pull +. $libexec_dir/commands/portzap-pull . $libexec_dir/commands/portzap-clone # Functions @@ -28,7 +28,7 @@ case $1 in "pull") require_deps git require_group _portzap - pull $portzap_dir $pull_mask + portzap_pull $portzap_dir $pull_mask ;; "install") require_root diff --git a/libexec/portzap/commands/pull b/libexec/portzap/commands/portzap-pull similarity index 94% rename from libexec/portzap/commands/pull rename to libexec/portzap/commands/portzap-pull index 34bdcfa..b99cb48 100644 --- a/libexec/portzap/commands/pull +++ b/libexec/portzap/commands/portzap-pull @@ -1,6 +1,6 @@ #!/bin/sh -pull() { +portzap_pull() { portzap_dir=$1 pull_mask=$2 if [ -e "$portzap_dir/.git" ]; then