Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
premsjha
/
op-build
/
refs/heads/ibm-release-fw1040
/
.
/
openpower
/
scripts
/
fixup-target-var
blob: 9c9bc5bbfe2852c4d04f5415514fd468bb90e280 [
file
] [
log
] [
blame
] [
edit
]
#!/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