Skip to content

Commit

Permalink
Ignore comments in cmdline (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrinux authored Mar 19, 2021
1 parent 04796ea commit 1c4fd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch-secure-boot
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ case "$1" in
trap 'rm -rf $tmp' EXIT
cd "$tmp"

cp "$CMDLINE" cmdline
grep -v "^#" "$CMDLINE" > cmdline
sed "s|%%NAME%%|$NAME|g; s|%%CMDLINE%%|$(cat cmdline)|g" "$DIR/recovery.nsh" > recovery.nsh
sed -i "s|subvol=$SUBVOLUME_ROOT|subvol=$SUBVOLUME_SNAPSHOT|g" recovery.nsh

Expand Down

0 comments on commit 1c4fd1f

Please sign in to comment.