diff --git a/cpstage4.sh b/cpstage4.sh index 4993052..ffea9c4 100755 --- a/cpstage4.sh +++ b/cpstage4.sh @@ -67,8 +67,8 @@ done # shifts pointer to read mandatory output file specification shift $((OPTIND - 1)) -SOURCE=${@:$OPTIND:1} -DESTINATION=${@:$OPTIND+1:1} +SOURCE=${1} +DESTINATION=${2} if [ -z "$SOURCE" ] then