Last active
August 29, 2015 14:04
-
-
Save washtubs/4c44ca84935818cf1545 to your computer and use it in GitHub Desktop.
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
294,304c294 | |
< # get the current version from .version.txt | |
< if [ -f "$origin_dir/.version.txt" ]; then | |
< current_version="$(cat "$origin_dir/.version.txt")" | |
< if [ -z "$current_version" ]; then | |
< echo "Something went wrong while getting the current version from '$origin_dir/.version.txt'" | |
< fi | |
< else | |
< current_version="?!?" | |
< echo "Unable to find file '$origin_dir/.version.txt' - Make sure it does exist." | |
< echo "You can download the file from https://github.com/jomo/imgur-screenshot/" | |
< fi | |
--- | |
> current_version="___VERSION___" #FIXME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment