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