From f33126550b0a02e0e11402aba366cc4fdccf66c4 Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: Aug 13 2014 08:22:13 +0000 Subject: Pass command line parameters to respective binaries in st-user (#1129557) --- diff --git a/st-user b/st-user index 5b7e665..1feb7c8 100644 --- a/st-user +++ b/st-user @@ -37,12 +37,12 @@ patchmod=0 function run_custom { echo "${name}: Running user ${tool}..." 1>&2 - ${bindir}/${tool} + ${bindir}/${tool} $@ } function run_system { echo "${name}: Running system ${tool}..." 1>&2 - /usr/bin/${tool}-fedora + /usr/bin/${tool}-fedora $@ } function rebuild { @@ -91,4 +91,4 @@ if [ -f ${config} -o -d ${patches} ]; then rebuild fi fi -[ -x ${bindir}/${tool} ] && run_custom || run_system +[ -x ${bindir}/${tool} ] && run_custom $@ || run_system $@ diff --git a/st.spec b/st.spec index bc16885..a16e2fa 100644 --- a/st.spec +++ b/st.spec @@ -1,6 +1,6 @@ Name: st Version: 0.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A simple terminal implementation for X %global _stsourcedir %{_usrsrc}/%{name}-user-%{version}-%{release} @@ -97,6 +97,9 @@ fi %{_stsourcedir} %changelog +* Wed Aug 13 2014 Petr Šabata - 0.5-4 +- Pass command line parameters to respective binaries in st-user (#1129557) + * Thu Jun 26 2014 Petr Šabata - 0.5-3 - Introduce the `user' subpackage