summaryrefslogtreecommitdiff
path: root/packages/zaurus-updater
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-23 16:18:34 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-23 16:18:34 +0000
commit2c7f8fcc887ecc9ccb2bead8353f30521904de6f (patch)
treee5461489fec0f53853ad56f21348a3c95f379600 /packages/zaurus-updater
parent485571cde482594a85494905868eae7a46cfc3a1 (diff)
zaurus-updater: use sed -i instead of shuffling files around
Diffstat (limited to 'packages/zaurus-updater')
-rw-r--r--packages/zaurus-updater/zaurus-updater.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/zaurus-updater/zaurus-updater.bb b/packages/zaurus-updater/zaurus-updater.bb
index 0bec6d3256..fb4d6e2584 100644
--- a/packages/zaurus-updater/zaurus-updater.bb
+++ b/packages/zaurus-updater/zaurus-updater.bb
@@ -12,8 +12,7 @@ SRC_URI = "file://updater.sh \
S = "${WORKDIR}"
do_configure() {
- cat "${S}/updater.sh" | sed "s/ZAURUS_UPDATER_VERSION/${PR}/" > "${S}/updater.sh_"
- mv "${S}/updater.sh_" "${S}/updater.sh"
+ sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh"
}
do_compile() {