Tuesday, March 27, 2012

Script for listing sync'ed projects in repo

Thought you guys out there might find this useful...

#!/bin/bash

if [ "$1" == "show" ]  ;
then
    echo $REPO_PROJECT
else
    repo forall -c "`pwd`/$BASH_SOURCE" show
fi

No comments: