[obs-commits] [openSUSE/obs-service-format_spec_file] 47b226: format_spec_file: Handle empty output directory

Branch: refs/heads/master Home: https://github.com/openSUSE/obs-service-format_spec_file Commit: 47b2260d69deb8f5b228ea954287cad0db936616 https://github.com/openSUSE/obs-service-format_spec_file/commit/47b2260d69de... Author: Markos Chandras <mchandras@suse.de> Date: 2016-09-13 (Tue, 13 Sep 2016) Changed paths: M format_spec_file Log Message: ----------- format_spec_file: Handle empty output directory If we don't use the --outdir parameter then the output directory is set to an empty string so the script is trying to create files in the root directory because of all the $MYOUTDIR/$i code snippets resulting to the following failures: /usr/lib/obs/service/format_spec_file: line 39: /openvswitch.spec.20210: Permission denied We fix this by setting the current working directory as the default output directory which is usually the directory containing our spec files. Signed-off-by: Markos Chandras <mchandras@suse.de> Commit: 40750ebffd5088ad06b38010e9117e89cb8aea34 https://github.com/openSUSE/obs-service-format_spec_file/commit/40750ebffd50... Author: Ruediger Oertel <ro@suse.de> Date: 2016-09-29 (Thu, 29 Sep 2016) Changed paths: M format_spec_file Log Message: ----------- Merge pull request #16 from hwoarang/fix-empty-output-dir format_spec_file: Handle empty output directory Compare: https://github.com/openSUSE/obs-service-format_spec_file/compare/df5d54d0c75...
participants (1)
-
Ruediger Oertel