flipperdevices / qFlipper

qFlipper — desktop application for updating Flipper Zero firmware via PC
https://update.flipperzero.one
GNU General Public License v3.0
1.14k stars 152 forks source link

Replace alias with a proper variable usage #184

Open ase1590 opened 1 year ago

ase1590 commented 1 year ago

Modern Linux systems will symlink /bin/sh to either /bin/bash or /bin/dash (in the case of Ubuntu). These shell environments do not allow for the usage of alias within scripts, and results in an error when this script is run directly.

I have instead replaced it with a proper shellscript variable usage, eliminating the need for alias entirely.

changes tested across Fedora, Arch, and Ubuntu without issue.