[packages/reposurgeon] repotool uses bashism
glen
glen at pld-linux.org
Tue Mar 15 07:45:28 CET 2016
commit a49952d218fe386cd31e291d2d60ad3417d255eb
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Mar 15 08:44:19 2016 +0200
repotool uses bashism
it uses shift when there are no more args, which will produce 'shift'
warning and abort whole script under mksh
testcase:
$ repotool initialize project
shebangs.patch | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/shebangs.patch b/shebangs.patch
index 65b99e0..79d001c 100644
--- a/shebangs.patch
+++ b/shebangs.patch
@@ -30,11 +30,3 @@
#
# reposurgeon - a repository surgeon.
#
---- reposurgeon-3.36/repotool 2016-01-22 20:25:24.000000000 +0200
-+++ reposurgeon-3.36.bang/repotool 2016-03-14 08:32:58.058363173 +0200
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # repotool - query and manipulate multiple repository types in a uniform way.
- #
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/reposurgeon.git/commitdiff/a49952d218fe386cd31e291d2d60ad3417d255eb
More information about the pld-cvs-commit
mailing list