Check-in Number:
|
3047 | |
Date: |
2002-Dec-23 15:13:09 (local)
2002-Dec-23 14:13:09 (UTC) |
User: | rse |
Branch: | |
Comment: |
allow PATH to be set already initially |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shiela/shiela-install.sh 1.17 -> 1.18
--- shiela-install.sh 2002/12/23 13:10:56 1.17
+++ shiela-install.sh 2002/12/23 14:13:09 1.18
@@ -257,6 +257,11 @@
fi
query U repos_history
+if [ ".$V_env_path" = . ]; then
+ V_env_path="/bin:/usr/bin:/sbin:/usr/sbin"
+fi
+query I env_path
+
# check whether the test command supports the -x option
if [ -x /bin/sh ] 2>/dev/null; then
minusx="-x"
@@ -307,7 +312,7 @@
fi
done
fi
-query U tool_sendmail
+query I tool_sendmail
if [ ".$V_tool_diff" = . ]; then
V_tool_diff="diff"
@@ -319,7 +324,7 @@
fi
done
fi
-query U tool_diff
+query I tool_diff
if [ ".$V_tool_xdelta" = . ]; then
V_tool_xdelta="xdelta"
@@ -331,7 +336,7 @@
fi
done
fi
-query U tool_xdelta
+query I tool_xdelta
if [ ".$V_tool_uuencode" = . ]; then
V_tool_uuencode="uuencode"
@@ -343,7 +348,7 @@
fi
done
fi
-query U tool_uuencode
+query I tool_uuencode
if [ ".$V_tool_cvs" = . ]; then
V_tool_cvs="cvs"
@@ -432,6 +437,7 @@
##
Environment {
+ Setenv PATH ${V_env_path};
Program sendmail ${V_tool_sendmail};
Program cvs ${V_tool_cvs};
Program diff ${V_tool_diff};
|
|