refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
27
nuance/sge.csh
Normal file
27
nuance/sge.csh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/csh
|
||||
|
||||
# test my new version.
|
||||
|
||||
source ~/bin/platform.csh
|
||||
|
||||
if ("$PLATFORM" == 'aachen_windows') then
|
||||
echo "SGE is unavailable on Aachen Windows."
|
||||
elif ("$PLATFORM" == 'my_laptop') then
|
||||
echo "SGE is unavailable on my laptop."
|
||||
else if ("$PLATFORM" == 'aachen_linux') then
|
||||
if ( $?SGE_ROOT == 0 ) then
|
||||
source /opt/sge6/default/common/settings.csh
|
||||
endif
|
||||
echo "SGE was successfully configured on Aachen Linux."
|
||||
else if ("$PLATFORM" == 'burlington_linux') then
|
||||
if ( $?SGE_ROOT == 0 ) then
|
||||
source /usr/local/SGE/default/common/settings.csh
|
||||
endif
|
||||
# tools for Grid management:
|
||||
source ~/bin/addpath.csh /res/tools/contrib/script
|
||||
echo "SGE and Grid tools was successfully configured on Burlington Linux."
|
||||
else if ("$PLATFORM" == 'home_windows') then
|
||||
echo "SGE is unavailable on Home Windows."
|
||||
else
|
||||
echo "Unknown system! Nothing was configured."
|
||||
endif
|
||||
Reference in New Issue
Block a user