You've already forked pedini.dev
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:
4
makefile
4
makefile
@@ -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