Code

Removed bashisms
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 07:11:30 +0000 (07:11 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 07:11:30 +0000 (07:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11188 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/make-gosa-package

index 8dc7bc4786fcc19cf12cc8c4bc5f5e84be48de99..6be6af3a6e2f7f2fcc45fa965de067c4e1df645e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # This code is part of GOsa (http://www.gosa-project.org)
 # Copyright (C) 2008 GONICUS GmbH
 #
@@ -62,7 +62,7 @@ while true; do
                 -c|--changelog)
                        RELEASE_REASON=$2; shift 2 ;;
                 -p|--plugins)
-                       MAKE_PLUGINS=${2//,/ }; shift 2 ;;
+                       MAKE_PLUGINS=$(echo $2 | tr ',' ' '); shift 2 ;;
                 -s|--section)
                        SECTION=$2; shift 2 ;;
                 -i|--si-section)