summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* home/.buildscripts/x2go.conf: use more quotes and curly braces.Mihai Moldovan2015-04-031-51/+51
|
* bin/build-rpm-package: add Fedora 22 and EPEL 7 releases.Mihai Moldovan2015-04-032-2/+2
|
* bin/build-rpm-package: remove ${TEMP_DIR} cleanup now handled by the ↵Mihai Moldovan2015-04-031-6/+0
| | | | cleanup() function.
* bin/build-rpm-package: merge ${temp_cleanup} changes from bin/build-deb-package.Mihai Moldovan2015-04-031-0/+10
|
* bin/build-deb-package: remove ${TEMP_DIR} removal on success -- handled by ↵Mihai Moldovan2015-04-031-1/+0
| | | | the new cleanup() function.
* bin/build-deb-package: pass end of options argument when calling to rm.Mihai Moldovan2015-04-031-1/+1
|
* bin/build-deb-package: check items of ${temp_cleanup} array for being not null.Mihai Moldovan2015-04-031-1/+1
|
* bin/build-deb-package: change ${TEMP_CLEANUP} to lower-case variant and a ↵Mihai Moldovan2015-04-031-9/+3
| | | | bash array.
* bin/build-rpm-package: change bash array name to lowercase.Mihai Moldovan2015-04-031-3/+4
|
* bin/build-rpm-package: change ${RPM_BUILD_FOR} splitting to a bash-only ↵Mihai Moldovan2015-04-031-4/+19
| | | | solution in more places.
* bin/build-rpm-package: add comments for some functions.Mihai Moldovan2015-04-031-0/+6
|
* bin/build-deb-package: do not use a subshell for splitting up ${DEB_BUILD_FOR}.Mihai Moldovan2015-04-031-3/+33
| | | | Switch to word splitting and bash arrays.
* bin/build-deb-package: add cleanup function to not leave random temporary ↵Mihai Moldovan2015-04-031-0/+25
| | | | directories around.
* bin/build-deb-package: misc changes:Mihai Moldovan2015-04-031-153/+150
| | | | | | | | | | | | | | - Use more curly braces and quotes. - Do not use echo and cat when not needed. - Change egrep to grep -E. - Use -q and -s flags for grep if it makes sense. - Terminate options with -- for "simple" GNU commands like mv, cp and others. - Typo fixes in comments. - Replace ls with find. - Whitespace fixes. - Remove redundant lines. - Clean stray semicolons.
* bin/build-rpm-package: misc changes:Mihai Moldovan2015-04-031-196/+197
| | | | | | | | | | | - Use more curly braces and quotes. - Do not use echo and cat when not needed. - Change egrep to grep -E. - Use -q and -s flags for grep if it makes sense. - Terminate options with -- for "simple" GNU commands like mv, cp and others. - Typo fixes in comments. - Replace ls with find.
* bin/build-rpm-package: fix default RPM_BUILD_FOR assignment.Mihai Moldovan2015-04-031-1/+1
|
* bin/build-rpm-package: variable ${file} is already a full-pathed file there, ↵Mihai Moldovan2015-04-021-1/+1
| | | | do not prepend ${TMP_MOCK_CFG_DIR}.
* bin/build-rpm-package: fix typo in comment: obviously do NOT use a subshell.Mihai Moldovan2015-04-021-1/+1
|
* bin/build-rpm-package: do not create a subshell in build_packages(), so that ↵Mihai Moldovan2015-04-021-1/+9
| | | | TMP_MOCK_CFG_DIR is actually modified in the main process.
* bin/build-rpm-package: more curly braces!Mihai Moldovan2015-04-021-1/+1
|
* bin/build-rpm-package: make OLDIFS variable local.Mihai Moldovan2015-04-021-1/+1
|
* bin/build-rpm-package: fix parse error.Mihai Moldovan2015-04-021-1/+6
|
* bin/build-rpm-package: use more curly braces.Mihai Moldovan2015-04-021-3/+2
|
* bin/build-rpm-package: use make_boolean more often, use more quoting.Mihai Moldovan2015-04-021-3/+5
|
* bin/{build-{all-deb-packages,deb-package,nsis-package.sh},signtarballs,updat ↵Mihai Moldovan2015-04-016-9/+9
| | | | ebuild{main,release}}: don't use a negative exit status. It was a bad idea to begin with.
* bin/build-{deb,nsis,rpm}-package: quote $@ variable to pass all arguments ↵Mihai Moldovan2015-04-013-3/+3
| | | | correctly to set_vars.
* bin/build-rpm-package: change -1 return codes to 1.Mihai Moldovan2015-04-011-20/+20
|
* bin/build-rpm-package: remove stupid sedism.Mihai Moldovan2015-04-011-2/+2
|
* bin/build-rpm-package: force-enable repositories.Mihai Moldovan2015-04-011-0/+5
|
* bin/build-rpm-package: fix gpgcheck regex.Mihai Moldovan2015-04-011-1/+1
|
* bin/build-rpm-package: only create a new temporary mock config directory if ↵Mihai Moldovan2015-04-011-6/+9
| | | | not already existing. Fix replacement of releasever.
* bin/build-rpm-package: replace $releasever with a constant value and force ↵Mihai Moldovan2015-04-011-3/+20
| | | | gpgcheck to 0.
* bin/build-rpm-package: add successful return statement in function missing them.Mihai Moldovan2015-04-011-0/+9
|
* bin/build-rpm-package: make get_extra_repository() edit OTHERMIRROR or ↵Mihai Moldovan2015-04-011-16/+16
| | | | MOCK_CHROOT_CONFIG directly. Do not call it in a subshell. It needs to modify global variables.
* bin/build-rpm-package: do not use create_mock_config() in a subshell. It ↵Mihai Moldovan2015-04-011-8/+6
| | | | needs to edit variables in global scope.
* bin/build-rpm-package: also pass through the line when detecting the start ↵Mihai Moldovan2015-04-011-1/+4
| | | | of yum config file.
* bin/build-rpm-package: a typo'd regex character class is unlikely to matchMihai Moldovan2015-04-011-1/+1
|
* bin/build-rpm-package: append .cfg extension to MOCK_BASE if necessary.Mihai Moldovan2015-04-011-2/+9
| | | | | Remove it inline and non-destructively when building temporary mock config file name.
* bin/build-rpm-package: disallow hyphens again. Bad idea for greedy regexes, ↵Mihai Moldovan2015-04-011-1/+1
| | | | especially when hyphens are used as field separators.
* bin/build-rpm-package: additionally allow underscore and hyphen characters ↵Mihai Moldovan2015-04-011-2/+2
| | | | | | in a mock base config file name definition. Also fix up a non-literal parsed period.
* home/.buildscripts/x2go.conf: remove unused variable ↵Mihai Moldovan2015-04-011-1/+0
| | | | RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME.
* bin/build-rpm-package: ignore errors when removing temporary mock config ↵Mihai Moldovan2015-04-011-1/+2
| | | | files in cleanup().
* bin/build-rpm-package: add ERR trap handler. This script is executed with ↵Mihai Moldovan2015-04-011-1/+1
| | | | set -e and cleanup not used if any command errors otherwise.
* bin/build-rpm-package: cleanup cleanup().Mihai Moldovan2015-04-011-22/+18
|
* bin/build-rpm-package: comment changes only. Typo fix.Mihai Moldovan2015-04-011-2/+2
|
* bin/build-rpm-package: move ${TEMP_BASE} into "global scope" to have it ↵Mihai Moldovan2015-04-011-4/+3
| | | | always defined.
* bin/build-rpm-package: rewrite the mock part of get_extra_repository() to ↵Mihai Moldovan2015-04-011-35/+23
| | | | use create_mock_config().
* bin/build-rpm-package: respect WANT_EXTRA parameter in ↵Mihai Moldovan2015-04-011-4/+7
| | | | get_extra_repository() for OBS builds.
* bin/build-rpm-package: use RPM_WANT_EXTRA_REPOS when calling ↵Mihai Moldovan2015-04-011-5/+5
| | | | get_extra_repository().
* {bin/build-rpm-package,home/.buildscripts/x2go.conf}: add new parameter ↵Mihai Moldovan2015-04-012-0/+10
| | | | | | | RPM_WANT_EXTRA_REPOS, set for X2Go projects but otherwise default to 0. Add description of what get_extra_repository() does and what parameters it accepts. Add new optional parameter WANT_EXTRA, defaulting to false.