diff options
author | Matthew Harmsen <mharmsen@pki.usersys.redhat.com> | 2016-04-26 11:06:10 -0600 |
---|---|---|
committer | Matthew Harmsen <mharmsen@pki.usersys.redhat.com> | 2016-04-26 14:53:33 -0600 |
commit | 4708983b88d33cb1b1c2cc913499c18dfc7d6959 (patch) | |
tree | 32c9301340a090b4fb8a69b5ac46c547e23ae7da /scripts/compose_pki_console_packages | |
parent | 33d02d644a1f61bce25698ec28a8ce9890ee3067 (diff) | |
download | pki-4708983b88d33cb1b1c2cc913499c18dfc7d6959.tar.gz pki-4708983b88d33cb1b1c2cc913499c18dfc7d6959.tar.xz pki-4708983b88d33cb1b1c2cc913499c18dfc7d6959.zip |
fix bashisms
- PKI TRAC Ticket #2249 - fix bashisms
- changes 'source' to '.'
- changes 'bash' to 'sh'
Diffstat (limited to 'scripts/compose_pki_console_packages')
-rwxr-xr-x | scripts/compose_pki_console_packages | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/compose_pki_console_packages b/scripts/compose_pki_console_packages index bdee121a5..92ffb7fbd 100755 --- a/scripts/compose_pki_console_packages +++ b/scripts/compose_pki_console_packages @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # BEGIN COPYRIGHT BLOCK # (C) 2010 Red Hat, Inc. # All rights reserved. @@ -9,7 +9,7 @@ ## COMPOSE_PWD=`dirname $0` -source ${COMPOSE_PWD}/compose_functions +. ${COMPOSE_PWD}/compose_functions ## Always switch into the base directory three levels @@ -185,7 +185,7 @@ fi ## rm -rf ${PKI_CONSOLE_PACKAGE_SCRIPT} -printf "#!/bin/bash\n\n" > ${PKI_CONSOLE_PACKAGE_SCRIPT} +printf "#!/bin/sh\n\n" > ${PKI_CONSOLE_PACKAGE_SCRIPT} printf "${PKI_CONSOLE_PACKAGE_COMMAND}\n\n" >> ${PKI_CONSOLE_PACKAGE_SCRIPT} chmod 775 ${PKI_CONSOLE_PACKAGE_SCRIPT} @@ -195,5 +195,5 @@ chmod 775 ${PKI_CONSOLE_PACKAGE_SCRIPT} ## cd ${PKI_PACKAGES} ; -bash ./package_${PKI_CONSOLE} | tee package_${PKI_CONSOLE}.log 2>&1 +sh ./package_${PKI_CONSOLE} | tee package_${PKI_CONSOLE}.log 2>&1 |