Skip to content

Instantly share code, notes, and snippets.

@heracek
Created December 12, 2013 19:27
Show Gist options
  • Save heracek/7933908 to your computer and use it in GitHub Desktop.
Save heracek/7933908 to your computer and use it in GitHub Desktop.
## Skripty jsou ulozeny v `bin/link-staging-files-to-src.sh` a `bin/work-on-location.sh`
#!/bin/sh
cd "$(dirname $0)/../"
PROJECT_ROOT_DIR=`pwd`
echo '$PROJECT_ROOT_DIR:' "$PROJECT_ROOT_DIR"
cd $PROJECT_ROOT_DIR
rm ./src/documents/en/* ./src/files/locations/*
git checkout ./src/documents/en/$1
git checkout ./src/files/locations/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment