From 3afbbab6a621873deffe9b00745cc8b5358673c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esm=C3=A9=20Cowles?= Date: Tue, 26 Apr 2016 21:29:50 -0400 Subject: [PATCH] Fixing fits installation --- install_scripts/fits.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_scripts/fits.sh b/install_scripts/fits.sh index a943ca5..80b7096 100644 --- a/install_scripts/fits.sh +++ b/install_scripts/fits.sh @@ -1,6 +1,7 @@ #!/bin/sh # FITS +SHARED_DIR=$1 if [ -f "$SHARED_DIR/install_scripts/config" ]; then . $SHARED_DIR/install_scripts/config @@ -11,6 +12,5 @@ cd $DOWNLOAD_DIR sudo curl $DOWNLOAD_URL > fits.zip unzip fits.zip chmod a+x fits-$FITS_VERSION/*.sh -sudo mv fits-$FITS_VERSION /usr/local -sudo ln -s /usr/local/fits-$FITS_VERSION/fits.sh /usr/local/bin/fits.sh -sudo ln -s /usr/local/fits-$FITS_VERSION/fits-env.sh /usr/local/bin/fits-env.sh +cd fits-$FITS_VERSION/ +sudo mv *.properties *.sh lib tools xml /usr/local/bin