Skip to content

Commit

Permalink
fix: change seperator to #FSG#
Browse files Browse the repository at this point in the history
Changes the seperator in the filelist to #FSG# instead of ,
  • Loading branch information
axtloss committed Nov 5, 2023
1 parent 0f5faee commit 77d5db7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func ValidatePath(recipePath string) error {
if strings.TrimSpace(file) == "" {
continue
}
properties := strings.Split(file, ",")
properties := strings.Split(file, " #FSG #")

wg.Add(1)
go func(prop []string) {
Expand Down
8 changes: 4 additions & 4 deletions signatures
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----begin attach----untrusted comment: signature from minisign secret key
RUT/zjj314CS9wT4jPKJ1meN63lbZQBEcTX8UG3bkZAOi4w2p1xcRlKPrAmV+ucbwMxO4zL3+X4HnlGRpnG8gu+I3m8K2baFmgw=
trusted comment: timestamp:1699035853 file:test_filelist hashed
VQQ/o2RoaLOF6DmrlaY23hiDhjY0n0YSrGIYnoQy2dDUvkm+JmHXhlER+H3NY5ZlFSxuEtnQ2oij06hX35dcCg==
----begin second attach----RWT/zjj314CS9yAR7EeTXdh78ASVkGTU+ax2dWrvrlIOUb26PipAlUqO
RUTpbAiGx/YxctK3HrTfy1VRfD/qSNxFWemE3LdouaAxL+EPR69qdfrsHxk9oZdlq+f5sg9Z4HcDbN93NHvFqGzq+D4eCJW09AE=
trusted comment: timestamp:1699212652 file:test_filelist hashed
f486WxemqmCVuIRuF6U1ASuNjP2RZMi8fopriCQmeA9ql7lxJRR5SJQlF9db41pYtE3/i/gTD8gwNgBOaHtaAw==
----begin second attach----RWTpbAiGx/YxchQa2SSfM6rThyyUg5uLjS9QwIoSOTejP6Uw8R+rULn4
8 changes: 4 additions & 4 deletions test_filelist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/usr/sbin/bash,35eab9f2ffe2de924043fe288896c512ed353712,false
/usr/sbin/tar,1d44d9a12776e7228a8153fae5fd2d2a84419ce1,false
/usr/bin/sudo,7f1a9b5842d2962fa8fab3973d9ea929ce4106a5,true
/usr/sbin/ar,badcheck,false
/usr/sbin/bash #FSG# 35eab9f2ffe2de924043fe288896c512ed353712 #FSG# false
/usr/sbin/tar #FSG# 1d44d9a12776e7228a8153fae5fd2d2a84419ce1 #FSG# false
/usr/bin/sudo #FSG# 7f1a9b5842d2962fa8fab3973d9ea929ce4106a5 #FSG# true
/usr/sbin/ar #FSG# badcheck #FSG# false

0 comments on commit 77d5db7

Please sign in to comment.