Skip to content

Commit

Permalink
Use which command to dynamically set package install home
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Feb 6, 2024
1 parent 54456fe commit ca32721
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -135,8 +135,8 @@
"devDependencies": {
"@fortawesome/fontawesome-free": "~6.5",
"@types/node": "~20.11",
"@typescript-eslint/eslint-plugin": "~6.19",
"@typescript-eslint/parser": "~6.19",
"@typescript-eslint/eslint-plugin": "~6.21",
"@typescript-eslint/parser": "~6.21",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"browser-sync": "~3.0",
Expand Down
5 changes: 3 additions & 2 deletions website/build-website.sh.command
Expand Up @@ -9,8 +9,9 @@

banner="dna-engine.org Website"
projectHome=$(cd $(dirname $0)/..; pwd)
apacheCfg=/usr/local/etc/httpd
apacheLog=/usr/local/var/log/httpd/error_log
pkgInstallHome=$(dirname $(dirname $(which httpd)))
apacheCfg=$pkgInstallHome/etc/httpd
apacheLog=$pkgInstallHome/var/log/httpd/error_log
webDocRoot=$(grep ^DocumentRoot $apacheCfg/httpd.conf | awk -F'"' '{ print $2 }')
cliFlagMsg="Use the '--no-server' flag to skip the interactive web server."
cliFlag=$1
Expand Down

0 comments on commit ca32721

Please sign in to comment.