aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/runscript.sh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index a3f387eb..df34b5e5 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -206,6 +206,12 @@ for _f in $required_files; do
done
unset _f
+if [ -n "$opts" ]; then
+ ewarn "Use of the opts variable is deprecated and will be"
+ ewarn "removed in the future."
+ ewarn "Please use extra_commands or extra_started_commands."
+fi
+
while [ -n "$1" ]; do
# Sepcial case depend
if [ "$1" = depend ]; then