Skip to content

Commit 284037d

Browse files
Use correct parameters and environment variables
1 parent 94e7ddb commit 284037d

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fi
240240
if [ $INSTALL == 1 ]; then
241241
if [ $INSTALLATION_DIR == "" ]; then
242242
echo "Error: missing mandatory value for option 'install'."
243-
echo " Missing: --lal-destination"
243+
echo " Missing: --destination-directory"
244244
echo " Current value: $INSTALLATION_DIR"
245245
exit 1
246246
fi

compile_ubuntu_distribution.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
LAL_HEADERS="/home/$USER/Documents/projects/LAL-dev/23.01/c++-libs/include"
4-
LAL_LIBRARY="/home/$USER/Documents/projects/LAL-dev/23.01/c++-libs/lib"
3+
LAL_HEADERS="$HOME/Documents/projects/LAL-dev/23.01/c++-libs/include"
4+
LAL_LIBRARY="$HOME/Documents/projects/LAL-dev/23.01/c++-libs/lib"
55

66
if [ -z $1 ]; then
77

compile_ubuntu_install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
if [ -z $1 ]; then
44

55
./compile.sh \
6-
--lal-destination="/home/$USER/Documents/projects/LAL-dev/23.01/python-libs" \
6+
--destination-directory="$HOME/Documents/projects/LAL-dev/23.01/python-libs" \
77
--build=release \
88
--install
99

1010
./compile.sh \
11-
--lal-destination="/home/$USER/Documents/projects/LAL-dev/23.01/python-libs" \
11+
--destination-directory="$HOME/Documents/projects/LAL-dev/23.01/python-libs" \
1212
--build=debug \
1313
--install
1414

@@ -18,12 +18,12 @@ elif [ "$1" == "miniconda" ]; then
1818
miniconda_dir="/home/$USER/miniconda3"
1919

2020
./compile.sh \
21-
--lal-destination="$miniconda_dir/lib" \
21+
--destination-directory="$miniconda_dir/lib" \
2222
--build=release \
2323
--install
2424

2525
./compile.sh \
26-
--lal-destination="$miniconda_dir/lib" \
26+
--destination-directory="$miniconda_dir/lib" \
2727
--build=debug \
2828
--install
2929

@@ -33,12 +33,12 @@ elif [ "$1" == "anaconda" ]; then
3333
anaconda_dir="/home/$USER/anaconda3"
3434

3535
./compile.sh \
36-
--lal-destination="$anaconda_dir/lib" \
36+
--destination-directory="$anaconda_dir/lib" \
3737
--build=release \
3838
--install
3939

4040
./compile.sh \
41-
--lal-destination="$anaconda_dir/lib" \
41+
--destination-directory="$anaconda_dir/lib" \
4242
--build=debug \
4343
--install
4444

compile_windows_install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
if [ -z $1 ]; then
44

55
./compile.sh \
6-
--lal-destination="C:/programming/msys64/mingw64/lib/python3.10/site-packages" \
6+
--destination-directory="C:/programming/msys64/mingw64/lib/python3.10/site-packages" \
77
--build=release \
88
--install
99

1010
./compile.sh \
11-
--lal-destination="C:/programming/msys64/mingw64/lib/python3.10/site-packages" \
11+
--destination-directory="C:/programming/msys64/mingw64/lib/python3.10/site-packages" \
1212
--build=debug \
1313
--install
1414

@@ -18,12 +18,12 @@ elif [ "$1" == "miniconda" ]; then
1818
miniconda_dir="C:/Users/$USER/miniconda3/Lib/site-packages"
1919

2020
./compile.sh \
21-
--lal-destination="$miniconda_dir" \
21+
--destination-directory="$miniconda_dir" \
2222
--build=release \
2323
--install
2424

2525
./compile.sh \
26-
--lal-destination="$miniconda_dir" \
26+
--destination-directory="$miniconda_dir" \
2727
--build=debug \
2828
--install
2929

@@ -33,12 +33,12 @@ elif [ "$1" == "anaconda" ]; then
3333
anaconda_dir="C:/Users/$USER/anaconda3/Lib/site-packages"
3434

3535
./compile.sh \
36-
--lal-destination="$anaconda_dir" \
36+
--destination-directory="$anaconda_dir" \
3737
--build=release \
3838
--install
3939

4040
./compile.sh \
41-
--lal-destination="$anaconda_dir" \
41+
--destination-directory="$anaconda_dir" \
4242
--build=debug \
4343
--install
4444

@@ -48,12 +48,12 @@ elif [ "$1" == "package" ]; then
4848
destdir="C:/Users/$USER/Desktop/LAL-DISTRIBUTION/23.01/windows10-python3.9-libs-anaconda"
4949

5050
./compile.sh \
51-
--lal-destination="$destdir" \
51+
--destination-directory="$destdir" \
5252
--build=release \
5353
--install
5454

5555
./compile.sh \
56-
--lal-destination="$destdir" \
56+
--destination-directory="$destdir" \
5757
--build=debug \
5858
--install
5959

0 commit comments

Comments
 (0)