Merge branch 'master' of git+ssh://github.com/adefaria/clearscm
[clearscm.git] / rc / client_scripts / cPanel
old mode 100755 (executable)
new mode 100644 (file)
index c66c9c6..115d25c
@@ -23,13 +23,16 @@ append_to_path /opt/cpanel/composer/bin
 append_to_path /opt/cplint/bin
 append_to_path /root/bin
 
+# Useful aliases
+alias makesb4='pushd $ulc; make -j4 sandbox; popd'
 # Find code!
-codePath=$(dirname $(find ~/.vscode-server/bin -name code))
-
-if [ -n "$codePath" ]; then
-  append_to_path $codePath
-else
-  echo "Warning - unable to find code"
+if [ -d ~/.vscode-server ]; then
+  codePath=$(dirname $(find ~/.vscode-server/bin -name code))
+  if [ -n "$codePath" ]; then
+    append_to_path $codePath
+  else
+    echo "Warning - unable to find code"
+  fi
 fi
 
 # Intended to be used for root
@@ -42,6 +45,10 @@ export ulw=/usr/local/cp-monitoring-whm-plugin
 export ulb=/usr/local/cp-banners-plugin
 export CPANEL_TEAM='scrum'
 
+# EA Tools
+export EATOOLS_BUILD_DIR=~/git/ea-tools/SOURCES/
+export EATOOLS_BIN_DIR=~/git/ea-tools/SOURCES/
+
 #alias ulc="cd /usr/local/cpanel"
 alias perl="$ulc/3rdparty/bin/perl"