linuxdeploy / linuxdeploy-plugin-gstreamer

Bundles GStreamer plugins into AppDirs. Experimental code, please expect issues! Help welcome!
3 stars 11 forks source link

command not found error #5

Open Stivius opened 3 years ago

Stivius commented 3 years ago

Since the #4 has been merged I sometimes receive the following error during build:

[gstreamer/stderr] /home/stivius/linuxdeploy-plugin-gstreamer.sh: line 110: : command not found

It completes successfully on my local machine despite these errors but fails in GitHub actions for some reason. I'm not an expert in bash, but I did some research on this topic. set -e means exit immediately if a command exits with a non-zero status grep -v means select non-matching lines grep --help tells us exit status is 0 if any line is selected, 1 otherwise

And we have the following line 110 in the script: "$(file "$i" | grep -v ELF --silent)" which means that if ELF is found grep will return 0 I suppose. Could it be the root problem which causes the script to fail?

emericg commented 3 years ago

I see that error too. Doesn't appear to be blocking anything, but still, prints a lot of messages to stderr.