Skip to content

Commit

Permalink
bashisms: Remove arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwandroid committed Oct 23, 2014
1 parent 3d8d7f5 commit c3d40c1
Show file tree
Hide file tree
Showing 97 changed files with 207 additions and 207 deletions.
2 changes: 1 addition & 1 deletion autoconf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=autoconf
pkgver=2.69
pkgrel=2
pkgrel=3
pkgdesc="A GNU tool for automatically configuring source code"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
Expand Down
6 changes: 3 additions & 3 deletions autoconf/autoconf.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(autoconf.info)
filelist=autoconf.info

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
2 changes: 1 addition & 1 deletion autoconf2.13/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=autoconf2.13
pkgver=2.13
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically configuring source code"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
Expand Down
6 changes: 3 additions & 3 deletions autoconf2.13/autoconf.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(autoconf2.13.info)
filelist=autoconf2.13.info

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
2 changes: 1 addition & 1 deletion autogen/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=autogen
pkgver=5.18.4
pkgrel=1
pkgrel=2
pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
arch=('i686' 'x86_64')
url="http://autogen.sourceforge.net/"
Expand Down
6 changes: 3 additions & 3 deletions autogen/autogen.install
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
infodir=/usr/share/info
filelist=(autogen.info autogen.info-1 autogen.info-2)
filelist="autogen.info autogen.info-1 autogen.info-2"

post_install() {
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/${file}.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -12,7 +12,7 @@ post_upgrade() {
}

pre_remove() {
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/${file}.gz $infodir/dir 2> /dev/null
done
}
2 changes: 1 addition & 1 deletion automake1.10/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.10
pkgver=1.10.3
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.10/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.10.info automake1.10.info-1 automake1.10.info-2)
filelist="automake1.10.info automake1.10.info-1 automake1.10.info-2"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.11/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.11
pkgver=1.11.6
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.11/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.11.info automake1.11.info-1 automake1.11.info-2)
filelist="automake1.11.info automake1.11.info-1 automake1.11.info-2"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.12/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.12
pkgver=1.12.6
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.12/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.12.info automake1.12.info-1 automake1.12.info-2 automake-history1.12.info)
filelist="automake1.12.info automake1.12.info-1 automake1.12.info-2 automake-history1.12.info"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.13/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.13
pkgver=1.13.4
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.13/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.13.info automake1.13.info-1 automake1.13.info-2 automake-history1.13.info)
filelist="automake1.13.info automake1.13.info-1 automake1.13.info-2 automake-history1.13.info"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.14/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.14
pkgver=1.14.1
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.14/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.14.info automake1.14.info-1 automake1.14.info-2 automake-history1.14.info)
filelist="automake1.14.info automake1.14.info-1 automake1.14.info-2 automake-history1.14.info"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.6/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.6
pkgver=1.6.3
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.6/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.6.info)
filelist=automake1.6.info

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.7/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.7
pkgver=1.7.9
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.7/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.7.info)
filelist=automake1.7.info

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.8/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.8
pkgver=1.8.5
pkgrel=2
pkgrel=3
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.8/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.8.info)
filelist=automake1.8.info

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion automake1.9/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=automake1.9
pkgver=1.9.6
pkgrel=1
pkgrel=2
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions automake1.9/automake.install
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
infodir=usr/share/info
filelist=(automake1.9.info automake1.9.info-1 automake1.9.info-2)
filelist="automake1.9.info automake1.9.info-1 automake1.9.info-2"

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand All @@ -14,7 +14,7 @@ post_upgrade() {

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
for file in ${filelist}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
Expand Down
2 changes: 1 addition & 1 deletion bash/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgname=('bash' 'bash-devel')
_basever=4.3
_patchlevel=030 #prepare for some patches
pkgver=$_basever.$_patchlevel
pkgrel=1
pkgrel=2
pkgdesc="The GNU Bourne Again shell"
arch=('i686' 'x86_64')
license=('GPL')
Expand Down
6 changes: 3 additions & 3 deletions bash/bash.install
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
info_dir=usr/share/info
info_files=(bash.info)
info_files=bash.info

post_upgrade() {
[ -x usr/bin/install-info ]
for f in ${info_files[@]}; do
for f in ${info_files}; do
usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}

pre_remove() {
[ -x usr/bin/install-info ]
for f in ${info_files[@]}; do
for f in ${info_files}; do
usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}
2 changes: 1 addition & 1 deletion binutils/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgname=binutils
_basever=2.24.51
pkgver=${_basever}.20140408
#pkgver=2.24.51
pkgrel=1
pkgrel=2
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
Expand Down
Loading

0 comments on commit c3d40c1

Please sign in to comment.