Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (4f0f8ae3e35211b26dc90a45aac4e9dd85784b02)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (4f0f8ae3e35211b26dc90a45aac4e9dd85784b02)
  • Date: Wed, 22 Apr 2015 01:42:07 -0500

GIT changes to master z-rejected grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 3 +++
FUNCTIONS | 5 +++++
2 files changed, 8 insertions(+)

New commits:
commit de80ea6896827c84cab4370d90696d84fe12bd38
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

fixed check_tmp_noexec for tmp-less systems

diff --git a/ChangeLog b/ChangeLog
index 70bf8b4..62e1d83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-04-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * FUNCTIONS: fixed check_tmp_noexec for tmp-less systems
+
2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
* FUNCTIONS: backported check_tmp_noexec() from the test grimoire;
moved
glselect function include to the bottom
diff --git a/FUNCTIONS b/FUNCTIONS
index 59754b7..7d7ea56 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -651,6 +651,11 @@ function check_tmp_noexec() {
return 1
fi &&

+ if ! mountpoint -q $1; then
+ message "${MESSAGE_COLOR}There's no $1 mount point, nothing to
check.${DEFAULT_COLOR}"
+ return 0
+ fi &&
+
if awk -v tmp=$1 '{ if ($2 == tmp) print $4 }' < /proc/mounts | grep -q
noexec; then
message -n "${MESSAGE_COLOR}Remounting $1 with exec option (required for
build)... " &&
mount -o exec,remount $1 &&



  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (4f0f8ae3e35211b26dc90a45aac4e9dd85784b02), Vlad Glagolev, 04/22/2015

Archive powered by MHonArc 2.6.24.

Top of Page