Skip to content

Commit 7a2117d

Browse files
committed
Refactor install.sh to make phpvm binary executable
1 parent 1743833 commit 7a2117d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@
8484
phpvm_echo >&2 'Failed to install Node.js dependencies. Please report this!'
8585
exit 1
8686
}
87+
88+
# Make the phpvm binary executable
89+
phpvm_echo "=> Making phpvm binary executable"
90+
chmod +x "$INSTALL_DIR/bin/phpvm" || {
91+
phpvm_echo >&2 'Failed to set execute permissions on phpvm binary. Please report this!'
92+
exit 1
93+
}
8794
}
8895

8996
phpvm_detect_profile() {

0 commit comments

Comments
 (0)