From: rhatto Date: Fri, 28 Nov 2008 01:29:50 +0000 (+0000) Subject: fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=26252025c7dc160ad9e57c4ff037ad0da1e7122a;p=simplepkg.git fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@573 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 217bfb7..d39133d 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -584,7 +584,7 @@ function svn_copy { # usage: svn_copy # svn add file - [ $# -ne 1 ] && handle_error $ERROR_PAR_NUMBER + [ $# -ne 2 ] && handle_error $ERROR_PAR_NUMBER orig="`dirname $1`" file="`basename $1`"