#!/usr/bin/env bash
set -euo pipefail

target_dir="${1:-glass3sdkdemo}"

if [ -e "$target_dir" ]; then
  echo "Target path already exists: $target_dir"
  exit 1
fi

git clone https://gitee.com/as_pixar/glass3sdkdemo.git "$target_dir"
echo "Demo repo cloned to $target_dir"
