summaryrefslogtreecommitdiffstats
path: root/redhat/build/install_rpm_package.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-02-01 14:56:14 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-02-01 14:56:14 +0100
commitebd751a0a30522160af8d4e3e44cf88382c1567c (patch)
tree5dc3776fdaa3a01de8015b8f1ab12bbc03efc432 /redhat/build/install_rpm_package.sh
parent2684939e2168b39190416af1601f3e1830771064 (diff)
downloadtde-packaging-ebd751a0a30522160af8d4e3e44cf88382c1567c.tar.gz
tde-packaging-ebd751a0a30522160af8d4e3e44cf88382c1567c.zip
RPM Packaging: update build scripts
Diffstat (limited to 'redhat/build/install_rpm_package.sh')
-rwxr-xr-xredhat/build/install_rpm_package.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh
index 8c9973037..13daa1258 100755
--- a/redhat/build/install_rpm_package.sh
+++ b/redhat/build/install_rpm_package.sh
@@ -1,5 +1,11 @@
#!/bin/bash
+LOCKFILE="/tmp/lock.${0##*/}"
+while [ -e "${LOCKFILE}" ]; do
+ echo "Waiting for lock file '${LOCKFILE}' to vanish."
+ sleep 3
+done
+
PKGCATEGORY="${1%%/*}"
PKGNAME="${1##*/}"