From e471874f0a84512f218621412b41edc1fb872883 Mon Sep 17 00:00:00 2001 From: kareem Date: Tue, 18 Oct 2022 04:55:54 -0700 Subject: [PATCH] get the right filepath in fix_mag --- scripts/fix_mag.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix_mag.bash b/scripts/fix_mag.bash index 93a21ec2..33204a3c 100755 --- a/scripts/fix_mag.bash +++ b/scripts/fix_mag.bash @@ -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