[ostree: 11/70] packaging: fix bashism in dist-snapshot target
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree: 11/70] packaging: fix bashism in dist-snapshot target
- Date: Fri, 15 Apr 2016 21:02:10 +0000 (UTC)
commit 45a6c109d959e9ba92e39397a2cb9da8c1cf67af
Author: Simon McVittie <smcv debian org>
Date: Mon Mar 28 12:25:17 2016 +0100
packaging: fix bashism in dist-snapshot target
On Debian and its derivatives, /bin/sh is a lightweight POSIX shell
(currently dash) which does not support the bash {foo,bar} syntax.
Signed-off-by: Simon McVittie <smcv debian org>
Closes: #226
Approved by: cgwalters
packaging/Makefile.dist-packaging | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/packaging/Makefile.dist-packaging b/packaging/Makefile.dist-packaging
index b55211d..096aeab 100644
--- a/packaging/Makefile.dist-packaging
+++ b/packaging/Makefile.dist-packaging
@@ -22,7 +22,7 @@ dist-snapshot:
tar -A -f $${TARFILE_TMP} submodule.tar; \
rm submodule.tar; \
done; \
- mv $(PKG_VER).tar{.tmp,}; \
+ mv $(PKG_VER).tar.tmp $(PKG_VER).tar; \
rm -f $(PKG_VER).tar.xz; \
xz $(PKG_VER).tar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]