blob: 9c9bc5bbfe2852c4d04f5415514fd468bb90e280 [file] [log] [blame]
Jeremy Kerraf3fa302015-09-17 18:39:55 +08001#!/bin/sh
2
3# replace /var/* symlinks with actual directories
4
5find $TARGET_DIR/var/ -type l |
6while read path
7do
Douglas Millerd6433902015-10-02 10:33:46 -05008 [ -d "$path" ] || continue
9 rm -v $path
10 mkdir -v $path
Jeremy Kerraf3fa302015-09-17 18:39:55 +080011done