From: Lars Wirzenius Date: Sun, 15 May 2011 16:44:45 +0000 (+0100) Subject: Run customize script with sh, so it can be in current directory. X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=70e064a50e578c0c6a376fff794d9b4b4114e31d;p=forks%2Fvmdebootstrap.git Run customize script with sh, so it can be in current directory. --- diff --git a/vmdebootstrap b/vmdebootstrap index 19238c7..39822cd 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -275,7 +275,7 @@ append initrd=%(initrd)s root=UUID=%(uuid)s ro quiet script = self.settings['customize'] if script: self.message('Running customize script %s' % script) - self.runcmd([script, rootdir]) + self.runcmd(['sh', '-c', script, rootdir]) if __name__ == '__main__':