summaryrefslogtreecommitdiff
path: root/scripts/common
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common')
-rw-r--r--scripts/common23
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/common b/scripts/common
deleted file mode 100644
index 7514ea9..0000000
--- a/scripts/common
+++ /dev/null
@@ -1,23 +0,0 @@
-# vim: ft=sh
-# Laminar guard
-if [ -z "$WORKSPACE" ]; then
- echo "This script can be run only from laminar build environment!" >&2
- exit 1
-fi
-
-# Subprocess inclusion guard
-[ -z "$LAMINAR_COMMON" ]
-export LAMINAR_COMMON=y
-
-# Job and template id
-export JOBID="$(basename "$0" | sed 's/\.run$//')"
-export TEMPLATEID="$(basename "$(readlink -f "$0")" | sed 's/\.run$//')"
-
-# Template workspace
-export TWORKSPACE="$HOME/workspace/$TEMPLATEID"
-if [ "$JOBID" = "$TEMPLATEID" ]; then
- TWORKSPACE="$HOME/workspace/notemplate"
-fi
-
-# Include utils
-. utils