fix: use explicit bash path in makefile scripts
Specify full path to bash interpreter for version.sh and deploy.sh scripts in makefile to ensure consistent execution across different environments and avoid potential PATH issues.
This commit is contained in:
1 parent
9a4bdf15a3
commit
b7286eeeb6
1 file changed
+2
-2
@@ -7,10 +7,10 @@ prep:
|
|||||||
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
||||||
|
|
||||||
build: prep
|
build: prep
|
||||||
./version.sh
|
/usr/bin/env bash version.sh
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
./deploy.sh
|
/usr/bin/env bash deploy.sh
|
||||||
|
|
||||||
run: prep
|
run: prep
|
||||||
hugo server
|
hugo server
|
||||||
Reference in new issue
Block a user