Skip to content

Commit

Permalink
fix: escape branch in make_package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Dec 8, 2024
1 parent fdc36d0 commit e627611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def build_on_remote_host(self):
"mkdir -p ~/build/",
"rm -rf ~/build/pfsense-api",
"git clone https://github.com/jaredhendrickson13/pfsense-api.git ~/build/pfsense-api/",
"git -C ~/build/pfsense-api checkout " + self.args.branch,
f"git -C ~/build/pfsense-api checkout '{self.args.branch}'",
"composer install --working-dir ~/build/pfsense-api",
"rm -rf ~/build/pfsense-api/vendor/composer && rm ~/build/pfsense-api/vendor/autoload.php",
"cp -r ~/build/pfsense-api/vendor/* ~/build/pfsense-api/pfSense-pkg-API/files/etc/inc/",
Expand Down

0 comments on commit e627611

Please sign in to comment.