Created
December 12, 2013 19:27
-
-
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`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd "$(dirname $0)/../" | |
PROJECT_ROOT_DIR=`pwd` | |
echo '$PROJECT_ROOT_DIR:' "$PROJECT_ROOT_DIR" | |
echo "Linking locations documents" | |
cd "$PROJECT_ROOT_DIR/src/documents/en" && | |
ln -s ../../../src-staging/documents-en/* . | |
echo "Linking locations images" | |
cd "$PROJECT_ROOT_DIR/src/files/locations" && | |
ln -s ../../../src-staging/files-locations/* . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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