misc/scan_scripts.c: Make show_dir a static variable