From d50332066b85390654adb39062f4163ee51594e1 Mon Sep 17 00:00:00 2001
From: Narayanarao Bhogapurapu <narayanarao.bhogapurapu@gmail.com>
Date: Thu, 20 Jun 2024 15:22:13 +0000
Subject: [PATCH] Update build.sh

---
 build.sh | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/build.sh b/build.sh
index b00fbfd..f8d7cc5 100644
--- a/build.sh
+++ b/build.sh
@@ -4,32 +4,18 @@ set -xeuo pipefail
 
 basedir=$(dirname "$(readlink -f "$0")")
 
-# Make sure conda is updated to a version that supports the --no-capture-output option
-# conda install -y -n base -c conda-forge "conda>=4.13.0"
-
-
 start=`date +%s`
-# su -
-# apt-get update
-# apt-get install -y sudo 
-# apt-get install -y nano
-# sudo apt-get update 
 apt-get  install  -y nano scons libfftw3-dev libxm4 libmotif-dev python3-dev python3-pip 
 apt-get install -y python3-scipy python-opencv python3-numpy python3-h5py cython3 gdal-bin gfortran libgdal-dev python3-gdal libhdf5-dev 
-
 pip3 install cython opencv-python opencv-contrib-python shapely requests
 
-
 cd home
 mkdir pkgs
 cd pkgs
-# git clone https://github.com/isce-framework/isce2 -b v2.5.3
 git clone https://repo.maap-project.org/bnarayanarao/isce2
-# mkdir isce2
 cd ~
 cd ..
 cd ..
-# cp -R projects/my-private-bucket/iscefiles/isce2/ home/pkgs/
 cd home/pkgs/
 ln -s isce2 isce
 cd ..
@@ -38,14 +24,9 @@ cd home
 mkdir .isce
 cd ~
 cd ..
-# cp projects/my-private-bucket/iscefiles/ISCE_config.sh home/pkgs/isce2/
-# cp projects/my-private-bucket/iscefiles/read_calibration_slc.py home/pkgs/isce2/contrib/stack/topsStack/
-# cp projects/my-private-bucket/iscefiles/SConfigISCE home/.isce/
-
 cp home/pkgs/isce2/infiles_dps/ISCE_config.sh home/pkgs/isce2/
 cp home/pkgs/isce2/infiles_dps/read_calibration_slc.py home/pkgs/isce2/contrib/stack/topsStack/
 cp home/pkgs/isce2/infiles_dps/SConfigISCE home/.isce/
-
 cd ~
 cd ..
 cd ..
@@ -55,34 +36,19 @@ sudo sh -c 'echo "export PATH=\"/home/pkgs/isce/contrib/stack/topsStack:\$PATH\"
 sudo sh -c 'echo "source /home/pkgs/isce/ISCE_config.sh" >> ~/.bashrc'
 alias brc='source ~/.bashrc'
 
-
 chmod a+x ~/.bashrc
 PS1='$ '
 source ~/.bashrc
-
 cd ~
 cd ..
 cd home/pkgs/isce2
 scons install
 
-chmod a+x ~/.bashrc
-PS1='$ '
-source ~/.bashrc
-
-
-# chmod a+x /root/.bashrc
-# PS1='$ '
-# source /root/.bashrc
-
-# mkdir /home/pkgs/isce/isce/helper
 conda deactivate
 conda deactivate
 conda deactivate
 
 isceApp.py -h
-
-
 end=`date +%s`
 runtime=$((end-start))
 echo $runtime 'sec' 
-
-- 
GitLab