summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtems.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtems.py b/rtems.py
index b2e3285..e4ab3df 100644
--- a/rtems.py
+++ b/rtems.py
@@ -536,7 +536,7 @@ def library_path(library, cc, cflags):
return None
def root_filesystem(bld, name, files, tar, obj):
- tar_rule = 'tar -cf ${TGT} --format=ustar -C ../.. $(echo "${SRC}" | sed -e \'s/\.\.\/\.\.\///\')'
+ tar_rule = 'tar -cf ${TGT} --format=ustar -C ../.. $(echo "${SRC}" | sed -e \'s/\.\.\/\.\.\///g\')'
if windows:
tar_rule = 'sh -c "%s"' % (tar_rule)
bld(name = name + '_tar',