projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026b81e
)
dracut-functions.sh: grep for "--relative" for the ln_r() check
author
Harald Hoyer
<harald@redhat.com>
Fri, 29 Jun 2012 10:04:30 +0000
(12:04 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 29 Jun 2012 10:54:38 +0000
(12:54 +0200)
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index
696f647
..
33de5a2
100755
(executable)
--- a/
dracut-functions.sh
+++ b/
dracut-functions.sh
@@
-193,7
+193,7
@@
convert_abs_rel() {
echo "$__newpath"
}
-if strstr "$(ln --help)" "relative"; then
+if strstr "$(ln --help)" "
--
relative"; then
ln_r() {
ln -sfnr "${initdir}/$1" "${initdir}/$2"
}