forked from DGNum/liminix
systemconfig: fix missing backslashes on env vars
This commit is contained in:
parent
86f5c9b568
commit
b0709a6443
1 changed files with 5 additions and 2 deletions
|
@ -92,10 +92,13 @@ in attrset:
|
||||||
# case otherwise we will install into a ramfs/rootfs
|
# case otherwise we will install into a ramfs/rootfs
|
||||||
""
|
""
|
||||||
}
|
}
|
||||||
if test -d $dest/persist; then dest=$dest/persist; fi
|
if test -d \$dest/persist; then dest=\$dest/persist; fi
|
||||||
cp -v -fP \$src/bin/* \$src/etc/* \$dest
|
cp -v -fP \$src/bin/* \$src/etc/* \$dest
|
||||||
${if attrset ? boot then ''
|
${if attrset ? boot then ''
|
||||||
(cd \$dest && rm ./boot && ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot)
|
(cd \$dest
|
||||||
|
if test -e boot ; then rm boot ; fi
|
||||||
|
ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot
|
||||||
|
)
|
||||||
'' else ""}
|
'' else ""}
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/install
|
chmod +x $out/bin/install
|
||||||
|
|
Loading…
Reference in a new issue