first=1
for arg; do
  if [ -n "$first" ]; then
    set --
    unset first
  fi

  set -- "$arg" "$@"
done
