Skip to content

Instantly share code, notes, and snippets.

@sheepmaster
Created July 23, 2012 19:55
Show Gist options
  • Select an option

  • Save sheepmaster/3165823 to your computer and use it in GitHub Desktop.

Select an option

Save sheepmaster/3165823 to your computer and use it in GitHub Desktop.
#!/bin/bash
if test `basename $PWD` = "src"; then
cd ..
fi
eval `cd src && gclient hookinfo --gclientfile=<(echo 'solutions=[{"name":".","url":None,"deps_file":".DEPS.git"}]')`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment