diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-03-06 17:42:17 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-03-06 17:42:17 +0000 |
commit | 2782b63c8d05591037e5099c601c370916bb7f66 (patch) | |
tree | 1785f24916a7188e3af76c439b0dbae9a9d4e9a7 /reproduce/src/bash/git-post-checkout | |
parent | f546b49d3a8412ae03ea93856ebd170339eca55d (diff) | |
parent | 41865272cd80856eb466daef029a669225dbf139 (diff) |
Imported work on many basic Python modules
With the help of Raul, we were able to build many higher-level Python
packages to enable the installation of packages like Matplotlib and
Astroquery. With this commit, that work is being merged into the master
branch.
Diffstat (limited to 'reproduce/src/bash/git-post-checkout')
-rw-r--r-- | reproduce/src/bash/git-post-checkout | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/reproduce/src/bash/git-post-checkout b/reproduce/src/bash/git-post-checkout index e2a0fd0..153b277 100644 --- a/reproduce/src/bash/git-post-checkout +++ b/reproduce/src/bash/git-post-checkout @@ -9,8 +9,13 @@ # special characters for the installation location of meta-store so our own # installation is found by Git. -# File containig the metadata. +# File containig the metadata and metastore executable. MSFILE=".file-metadata" +MSBIN=@BINDIR@/metastore + +# If metastore is not installed, then ignore this script (exit with a +# status of 0). +if [ ! -f $MSBIN ]; then exit 0; fi # Delete all temporary files find @TOP_PROJECT_DIR@/ -name "*~" -type f -delete @@ -32,7 +37,7 @@ fi # Run metastore. exit_on_fail \ - @BINDIR@/metastore -a -m -e -E -q -O @USER@ -G @GROUP@ -f "$MSFILE" + $MSBIN -a -m -e -E -q -O @USER@ -G @GROUP@ -f "$MSFILE" # Return with a success code (0). exit 0 |