#!/usr/bin/env bash
# Emulates a remote GitHub import command. Each of the ghe-import-* utilities
# that are run on the remote side have corresponding commands in this directory
# that symlink to this file. The command just gobbles up stdin and writes a
# simple success message.
env_id=$1
tarball=$2

path=$(dirname $tarball)/../../../
mkdir -p $path/$env_id
tar -zxf $tarball -C "$path/$env_id"
