Changeset - 98d20a76990d
[Not reviewed]
default
0 2 0
Dennis Fink - 7 years ago 2013-05-27 15:37:41
the_metalgamer@hackerspace.lu
use aliases in command substitution
2 files changed with 6 insertions and 4 deletions:
yaah
5
3
0 comments (0 inline, 0 general)
yaah
Show inline comments
...
 
@@ -11,7 +11,7 @@
 
#:               -q, --quiet                            Be less verbose. Takes precedence over -v and --verbose
 
#:               --version                              Prints version and exits
 
#: Requirements: jshon <http://kmkeen.com/jshon/>, pacman, tar, curl
 
#:      Version: 0.4.1
 
#:      Version: 0.4.2
 
#:      Created: 2013-02-26
 
#:     Revision: 2013-05-27
 
#:       Author: Dennis Fink <the_metalgamer@hackerspace.lu>
...
 
@@ -29,13 +29,15 @@ IFS=$' \t\n'
 
# Setting a secure umask
 
UMASK=002
 
umask $UMASK
 
# Expand aliases in command substitution
 
shopt -s expand_aliases
 

	
 
## Script metadata
 
SCRIPTNAME=${0##*/}
 
DESCRIPTION="Yet another AUR helper"
 
DATE_OF_CREATION=2013-02-26
 
DATE_OF_REVISION=2013-05-27
 
VERSION=0.4.1
 
VERSION=0.4.2
 
AUTHOR="Dennis Fink <the_metalgamer@hackerspace.lu>"
 

	
 
readonly SCRIPTNAME DESCRIPTION DATE_OF_CREATION DATE_OF_REVISION VERSION AUTHOR
...
 
@@ -252,7 +254,7 @@ query_online_version () {
 

	
 
        msg_verbose2 "URL is: ${url}"
 

	
 
        local aur_response=$(curl "${url}")
 
        local aur_response=$(curl  "${url}")
 

	
 
        if [[ $? -ne 0 ]]; then
 
            error "Packages infos could not be loaded!"
yaah.rst
Show inline comments
...
 
@@ -9,7 +9,7 @@ Yet another AUR helper
 
:Author:         Dennis Fink <the_metalgamer@hackerspace.lu>
 
:Date:           2013-05-19
 
:Copyright:      GPLv3+
 
:Version:        Yaah 0.4.1
 
:Version:        Yaah 0.4.2
 
:Manual section: 8
 
:Manual group:   Yaah Manual
 

	
0 comments (0 inline, 0 general)