]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- quoted variables in bashrc
authorgrzegol <grzegol@pld-linux.org>
Wed, 3 Apr 2002 20:46:31 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 2

Changed files:
    bash-completion.spec -> 1.8

bash-completion.spec

index d88160b75d123ca158abedb98200627ab93f0b81..bd3d72b5a9d7bf2e25b14db0ea858e53a3a7ce32 100644 (file)
@@ -3,7 +3,7 @@ Summary:        bash-completion offers programmable completion for bash %{bashversion}
 Summary(pl):   Programowalne uzupeĀ³nianie nazw dla basha %{bashversion}
 Name:          bash-completion
 Version:       20020402
-Release:       1
+Release:       2
 Group:         Applications/Shells
 License:       GPL
 Source0:       http://www.caliban.org/files/bash/%{name}-%{version}.tar.bz2
@@ -44,7 +44,7 @@ if ! grep -q '\[ -f '%{_sysconfdir}'/bash_completion \]' \
     cat <<'EOF' >> %{_sysconfdir}/bashrc
 # START bash completion -- do not remove this line
 bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "$PS1" ] && [ $bmajor -eq 2 ] && [ $bminor '>' 04 ] \
+if [ "$PS1" ] && [ "$bmajor" -eq 2 ] && [ "$bminor" '>' 04 ] \
    && [ -f %{_sysconfdir}/bash_completion ]; then      # interactive shell
        # Source completion code
         . %{_sysconfdir}/bash_completion
This page took 0.054797 seconds and 4 git commands to generate.