aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-04-02 19:30:17 +0100
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-04-04 11:28:15 +0100
commitc14c6902f597b5b7410da32842b31c6229b3a998 (patch)
tree5a4f20087ab259ac1d851666e51e01d11c0cbc45 /package/base-files/files
parentfdac4c085daccd774b4eba6b8c3fca2739cbb8dd (diff)
downloadupstream-c14c6902f597b5b7410da32842b31c6229b3a998.tar.gz
upstream-c14c6902f597b5b7410da32842b31c6229b3a998.tar.bz2
upstream-c14c6902f597b5b7410da32842b31c6229b3a998.zip
treewide: convert sed -r to posix -E
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 2cbc69e5dd..49c2fa0e7b 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -5,7 +5,7 @@ RAM_ROOT=/tmp/root
export BACKUP_FILE=sysupgrade.tgz # file extracted by preinit
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
-libs() { ldd $* 2>/dev/null | sed -r 's/(.* => )?(.*) .*/\2/'; }
+libs() { ldd $* 2>/dev/null | sed -E 's/(.* => )?(.*) .*/\2/'; }
install_file() { # <file> [ <file> ... ]
local target dest dir