blob: 171b9161e3f7e9208d8a9dac2914d4321532d998 [file] [log] [blame]
#!/bin/sh
# replace /var/* symlinks with actual directories
find $TARGET_DIR/var/ -type l |
while read path
do
target=$(realpath $path)
[ -d "$target" ] || continue
rm $path
mkdir $path
done