mirror of https://github.com/efabless/caravel.git
get the right filepath in fix_mag
This commit is contained in:
parent
e476c5b08e
commit
e471874f0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue