Change again endings

This commit is contained in:
Mario Romero 2023-09-13 08:36:56 -03:00
parent 86955df199
commit 2162e2fd91

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
export KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout export KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout
if [[ $PDK = gf180mcu* ]]; then if [[ $PDK = gf180mcu* ]]; then
if [[ ! -d $KLAYOUT_HOME/pymacros/cells ]]; then if [[ ! -d $KLAYOUT_HOME/pymacros/cells ]]; then
mv $KLAYOUT_HOME/pymacros/* $KLAYOUT_HOME/pymacros/cells | mkdir $KLAYOUT_HOME/pymacros/cells mv $KLAYOUT_HOME/pymacros/* $KLAYOUT_HOME/pymacros/cells | mkdir $KLAYOUT_HOME/pymacros/cells
fi fi
if [[ ! -f $KLAYOUT_HOME/pymacros/gf180mcu.lym ]]; then if [[ ! -f $KLAYOUT_HOME/pymacros/gf180mcu.lym ]]; then
mv $KLAYOUT_HOME/tech/gf180mcu.lym $KLAYOUT_HOME/pymacros mv $KLAYOUT_HOME/tech/gf180mcu.lym $KLAYOUT_HOME/pymacros
fi fi
fi fi
/bin/klayout $@ /bin/klayout $@