X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-misc-helpers.sh;h=d85a1d1bfd6ef87b7a43bb4e2d736ae989420e36;hb=3da00deab98dc5999f4583d05d164e2549efa6b2;hp=245e9da1dd18b3b7af550a3436b59f94fdf657c7;hpb=068ba718731e7eb6c6ecabcbb2b7f676198a4ac4;p=live-boot-grml.git diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index 245e9da..d85a1d1 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -329,21 +329,6 @@ find_livefs () return 1 } -really_export () -{ - STRING="${1}" - VALUE="$(eval echo -n \${$STRING})" - - if [ -f /live.vars ] && grep -sq "export ${STRING}" /live.vars - then - sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars - else - echo "export ${STRING}=\"${VALUE}\"" >> /live.vars - fi - - eval export "${STRING}"="${VALUE}" -} - is_in_list_separator_helper () { local sep element list