summaryrefslogtreecommitdiffstats
path: root/scripts/compose_dogtag_pki_theme_packages
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-26 11:06:10 -0600
committerMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-26 14:53:33 -0600
commit4708983b88d33cb1b1c2cc913499c18dfc7d6959 (patch)
tree32c9301340a090b4fb8a69b5ac46c547e23ae7da /scripts/compose_dogtag_pki_theme_packages
parent33d02d644a1f61bce25698ec28a8ce9890ee3067 (diff)
downloadpki-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_dogtag_pki_theme_packages')
-rwxr-xr-xscripts/compose_dogtag_pki_theme_packages8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/compose_dogtag_pki_theme_packages b/scripts/compose_dogtag_pki_theme_packages
index 7df834cd0..12c7e6a9f 100755
--- a/scripts/compose_dogtag_pki_theme_packages
+++ b/scripts/compose_dogtag_pki_theme_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
@@ -187,7 +187,7 @@ fi
##
rm -rf ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
-printf "#!/bin/bash\n\n" > ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
+printf "#!/bin/sh\n\n" > ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
printf "${DOGTAG_PKI_THEME_PACKAGE_COMMAND}\n\n" >> ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
chmod 775 ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
@@ -197,5 +197,5 @@ chmod 775 ${DOGTAG_PKI_THEME_PACKAGE_SCRIPT}
##
cd ${PKI_PACKAGES} ;
-bash ./package_${DOGTAG_PKI_THEME} | tee package_${DOGTAG_PKI_THEME}.log 2>&1
+sh ./package_${DOGTAG_PKI_THEME} | tee package_${DOGTAG_PKI_THEME}.log 2>&1