cleanups in bin/

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-31 18:43:08 +02:00
commit 9955dc74c6
4 changed files with 7 additions and 8 deletions

View file

@ -25,14 +25,11 @@
. cdist-config
if [ $# -ne 4 ]; then
__cdist_usage "<push|pull> <target host> <src dir> <dst dir>"
fi
[ $# -eq 4 ] || __cdist_usage "<push|pull> <target host> <src dir> <dst dir>"
set -ue
__cdist_action="$1"; shift
__cdist_target_host="$1"; shift
__cdist_src_dir="$1"; shift
__cdist_dst_dir="$1"; shift