diff options
-rwxr-xr-x | scripts/upload-release | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upload-release b/scripts/upload-release index e4a03787d0..7e0b9d35c9 100755 --- a/scripts/upload-release +++ b/scripts/upload-release @@ -10,8 +10,8 @@ if [ $# -lt 2 ] ; then fi REL=$1 -if [ $# -gt 2 ] ; then - cd "$3" +if [ $# -gt 1 ] ; then + cd "$2" fi # Upload to our file server |