Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
premsjha
/
op-build
/
fa2bde57e5763cca50b1ee10e5f2f7fa209c03b6
/
.
/
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