summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 22:12:40 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 22:12:40 +0200
commit3da00deab98dc5999f4583d05d164e2549efa6b2 (patch)
tree7ffd1353367ef4b9c3d266d609c633f8f4b0c1cb /components/9990-misc-helpers.sh
parent068ba718731e7eb6c6ecabcbb2b7f676198a4ac4 (diff)
downloadlive-boot-3da00deab98dc5999f4583d05d164e2549efa6b2.tar.gz
live-boot-3da00deab98dc5999f4583d05d164e2549efa6b2.zip
Dropping really_export dead code.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh15
1 files changed, 0 insertions, 15 deletions
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