use same argv processing as elsewhere

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.5
Nico Schottelius 14 years ago
parent 10c96dee87
commit 78777ba9f3
  1. 4
      bin/cdist-remote-explorer-run

@ -25,9 +25,7 @@
#
. cdist-config
if [ $# -ne 3 ]; then
__cdist_usage "<variable name> <explorer dir> <out dir>"
fi
[ $# -eq 3 ] || __cdist_usage "<variable name> <explorer dir> <out dir>"
set -ue
# Variable that defines the home of the explorers

Loading…
Cancel
Save