Skip to content

Commit e627611

Browse files
fix: escape branch in make_package.py
1 parent fdc36d0 commit e627611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/make_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def build_on_remote_host(self):
104104
"mkdir -p ~/build/",
105105
"rm -rf ~/build/pfsense-api",
106106
"git clone https://github.com/jaredhendrickson13/pfsense-api.git ~/build/pfsense-api/",
107-
"git -C ~/build/pfsense-api checkout " + self.args.branch,
107+
f"git -C ~/build/pfsense-api checkout '{self.args.branch}'",
108108
"composer install --working-dir ~/build/pfsense-api",
109109
"rm -rf ~/build/pfsense-api/vendor/composer && rm ~/build/pfsense-api/vendor/autoload.php",
110110
"cp -r ~/build/pfsense-api/vendor/* ~/build/pfsense-api/pfSense-pkg-API/files/etc/inc/",

0 commit comments

Comments
 (0)