diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-06-04 10:30:23 -0700 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2018-06-04 19:30:23 +0200 |
commit | d68ab5f662969376a889629c72a0cb5ab120cfda (patch) | |
tree | 19708d4c31fde1202850da4bfb0e3553f9b2fa38 /contrib | |
parent | 0631ac60d7debce05fbd1631c7a71de0be96f3d0 (diff) | |
download | navit-d68ab5f662969376a889629c72a0cb5ab120cfda.tar.gz |
update:style:optimize the usage of cat in shell scripts (#612)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/sailfish/build_on_sailfish_sdk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sailfish/build_on_sailfish_sdk.sh b/contrib/sailfish/build_on_sailfish_sdk.sh index b62d43d96..a3d515ab0 100755 --- a/contrib/sailfish/build_on_sailfish_sdk.sh +++ b/contrib/sailfish/build_on_sailfish_sdk.sh @@ -4,9 +4,9 @@ if [ -z ${VERSION_ID+x} ]; then echo "VERSION_ID not set. Forgot to export VERSION_ID?"; exit 1; fi #arm devices -sb2 -t SailfishOS-${VERSION_ID}-armv7hl -m sdk-install -R zypper in `cat navit-sailfish.spec | grep "^BuildRequires: " | sed -e "s/BuildRequires: //"` +sb2 -t SailfishOS-${VERSION_ID}-armv7hl -m sdk-install -R zypper in `grep navit-sailfish.spec "^BuildRequires: " | sed -e "s/BuildRequires: //"` sb2 -t SailfishOS-${VERSION_ID}-armv7hl -m sdk-build rpmbuild --define "_topdir /home/src1/rpmbuild" --define "navit_source `pwd`/../.." -bb navit-sailfish.spec #intel devices -sb2 -t SailfishOS-${VERSION_ID}-i486 -m sdk-install -R zypper in `cat navit-sailfish.spec | grep "^BuildRequires: " | sed -e "s/BuildRequires: //"` +sb2 -t SailfishOS-${VERSION_ID}-i486 -m sdk-install -R zypper in `grep navit-sailfish.spec "^BuildRequires: " | sed -e "s/BuildRequires: //"` sb2 -t SailfishOS-${VERSION_ID}-i486 -m sdk-build rpmbuild --define "_topdir /home/src1/rpmbuild" --define "navit_source `pwd`/../.." -bb navit-sailfish.spec |