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