[csw-devel] SF.net SVN: gar:[13643] csw/mgar/pkg/postgresql/branches/postgresql-9.0/ files/check_pkgroot.sh
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Mar 7 10:07:41 CET 2011
Revision: 13643
http://gar.svn.sourceforge.net/gar/?rev=13643&view=rev
Author: wahwah
Date: 2011-03-07 09:07:41 +0000 (Mon, 07 Mar 2011)
Log Message:
-----------
posqgresql-9.0: Moved set -x to the top of check_pkgroot.sh
Modified Paths:
--------------
csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/check_pkgroot.sh
Modified: csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/check_pkgroot.sh
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/check_pkgroot.sh 2011-03-07 09:07:09 UTC (rev 13642)
+++ csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/check_pkgroot.sh 2011-03-07 09:07:41 UTC (rev 13643)
@@ -1,6 +1,10 @@
#!/opt/csw/bin/bash
# $Id$
+set -u
+set -e
+set -x
+
declare -r PKGROOT="$1"
if [[ -z "${PKGROOT}" ]]
@@ -9,10 +13,6 @@
exit 1
fi
-set -u
-set -e
-set -x
-
# Look for unexpanded variables
! grep @sysconfdir@ ${PKGROOT}/etc/opt/csw/init.d/cswpostgres_9_0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list