get the right filepath in fix_mag

This commit is contained in:
kareem 2022-10-18 04:55:54 -07:00
parent e476c5b08e
commit e471874f0a
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ mags=$(find $mag_path -maxdepth 1 -type f -name '*.mag' )
for mag in $mags; do
filename=$(basename $mag)
sed -i -E 's#(use +sky130_\S+_sc_(\S+)__\S+ +\S+ +)\S+#\1$PDKPATH/libs.ref/sky130_fd_sc_\2/mag#' $filename
sed -i -E 's#(use +sky130_\S+_sc_(\S+)__\S+ +\S+ +)\S+#\1$PDKPATH/libs.ref/sky130_fd_sc_\2/mag#' $mag_path/$filename
done