different FreePDK45 experiments10 chip size
[soclayout.git] / mksym.sh
index 1865ad0f4a20adaec21f547c064bce541ae87ee6..1659db864d3a7e5ecb06dc0748edcc11c32c483d 100755 (executable)
--- a/mksym.sh
+++ b/mksym.sh
@@ -1,6 +1,10 @@
 #!/bin/bash
 
 ALLIANCE_TOOLKIT=${ALLIANCE_TOOLKIT:-${HOME}/alliance-check-toolkit/}
+if [ ! -d ${ALLIANCE_TOOLKIT} ]; then
+  echo "alliance-check-toolkit not found; please set ALLIANCE_TOOLKIT"
+  exit 20
+fi
 
 echo "creating symlinks"
 
@@ -19,7 +23,7 @@ for script in "${ScriptsArray[@]}"; do
     fi
 done
 
-declare -a LibsArray=("sxlib" "nsxlib" "nsxlib45" "cmos" "mosis" "cmos45"
+declare -a LibsArray=("sxlib" "nsxlib" "nsxlib45" "cmos" "cmos45" "mosis"
 )
 
 for script in "${LibsArray[@]}"; do