Skip to content

Commit

Permalink
Read manifest by redirect instead of argument (#33)
Browse files Browse the repository at this point in the history
When installing yq on Pop OS, seems that it's hitting a snapd/AppArmor
bug that prevents it from reading files directly.  Work around this by
using shell redirection instead of passing as argument.

See also:
- https://stackoverflow.com/a/76002505/2747593
- https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753
  • Loading branch information
501st-alpha1 authored Aug 19, 2024
1 parent b83ba6b commit 4a175dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_ID := $(shell yq e ".id" manifest.yaml)
PKG_VERSION := $(shell yq e ".version" manifest.yaml)
PKG_ID := $(shell yq e ".id" < manifest.yaml)
PKG_VERSION := $(shell yq e ".version" < manifest.yaml)
TS_FILES := $(shell find ./ -name \*.ts)
HELLO_WORLD_SRC := $(shell find ./hello-world/src) hello-world/Cargo.toml hello-world/Cargo.lock

Expand Down

0 comments on commit 4a175dd

Please sign in to comment.