Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
premsjha
/
op-build
/
662f32cfa20af5e9aa072c1336bcb8eb3f7b330f
/
.
/
openpower
/
scripts
/
fixup-target-var
blob: 9c9bc5bbfe2852c4d04f5415514fd468bb90e280 [
file
] [
log
] [
blame
]
#!/bin/sh
# replace /var/* symlinks with actual directories
find $TARGET_DIR
/
var
/
-
type l
|
while
read path
do
[
-
d
"$path"
]
||
continue
rm
-
v $path
mkdir
-
v $path
done