File tree Expand file tree Collapse file tree 4 files changed +52
-0
lines changed
all-in-one-apim/modules/distribution/product/src/main/startup-scripts
api-control-plane/modules/distribution/product/src/main/startup-scripts
gateway/modules/distribution/product/src/main/startup-scripts
traffic-manager/modules/distribution/product/src/main/startup-scripts Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ BCPKIX_FIPS_VERSION=1.0.7;
2020EXPECTED_BC_FIPS_CHECKSUM=" 704e65f7e4fe679e5ab2aa8a840f27f8ced4c522"
2121EXPECTED_BCPKIX_FIPS_CHECKSUM=" fe07959721cfa2156be9722ba20fdfee2b5441b0"
2222
23+ # resolve links
24+ PRG=" $0 "
25+
26+ while [ -h " $PRG " ]; do
27+ ls=` ls -ld " $PRG " `
28+ link=` expr " $ls " : ' .*-> \(.*\)$' `
29+ if expr " $link " : ' .*/.*' > /dev/null; then
30+ PRG=" $link "
31+ else
32+ PRG=` dirname " $PRG " ` /" $link "
33+ fi
34+ done
35+
2336# Get standard environment variables
2437PRGDIR=` dirname " $PRG " `
2538
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ BCPKIX_FIPS_VERSION=1.0.7;
2020EXPECTED_BC_FIPS_CHECKSUM=" 704e65f7e4fe679e5ab2aa8a840f27f8ced4c522"
2121EXPECTED_BCPKIX_FIPS_CHECKSUM=" fe07959721cfa2156be9722ba20fdfee2b5441b0"
2222
23+ # resolve links
24+ PRG=" $0 "
25+
26+ while [ -h " $PRG " ]; do
27+ ls=` ls -ld " $PRG " `
28+ link=` expr " $ls " : ' .*-> \(.*\)$' `
29+ if expr " $link " : ' .*/.*' > /dev/null; then
30+ PRG=" $link "
31+ else
32+ PRG=` dirname " $PRG " ` /" $link "
33+ fi
34+ done
35+
2336# Get standard environment variables
2437PRGDIR=` dirname " $PRG " `
2538
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ BCPKIX_FIPS_VERSION=1.0.7;
2020EXPECTED_BC_FIPS_CHECKSUM=" 704e65f7e4fe679e5ab2aa8a840f27f8ced4c522"
2121EXPECTED_BCPKIX_FIPS_CHECKSUM=" fe07959721cfa2156be9722ba20fdfee2b5441b0"
2222
23+ # resolve links
24+ PRG=" $0 "
25+
26+ while [ -h " $PRG " ]; do
27+ ls=` ls -ld " $PRG " `
28+ link=` expr " $ls " : ' .*-> \(.*\)$' `
29+ if expr " $link " : ' .*/.*' > /dev/null; then
30+ PRG=" $link "
31+ else
32+ PRG=` dirname " $PRG " ` /" $link "
33+ fi
34+ done
35+
2336# Get standard environment variables
2437PRGDIR=` dirname " $PRG " `
2538
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ BCPKIX_FIPS_VERSION=1.0.7;
2020EXPECTED_BC_FIPS_CHECKSUM=" 704e65f7e4fe679e5ab2aa8a840f27f8ced4c522"
2121EXPECTED_BCPKIX_FIPS_CHECKSUM=" fe07959721cfa2156be9722ba20fdfee2b5441b0"
2222
23+ # resolve links
24+ PRG=" $0 "
25+
26+ while [ -h " $PRG " ]; do
27+ ls=` ls -ld " $PRG " `
28+ link=` expr " $ls " : ' .*-> \(.*\)$' `
29+ if expr " $link " : ' .*/.*' > /dev/null; then
30+ PRG=" $link "
31+ else
32+ PRG=` dirname " $PRG " ` /" $link "
33+ fi
34+ done
35+
2336# Get standard environment variables
2437PRGDIR=` dirname " $PRG " `
2538
You can’t perform that action at this time.
0 commit comments