Add -p flag to mkdir in case re-using sandbox.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=563
This commit is contained in:
parent
2f9c3e0503
commit
b74122fd84
@ -97,7 +97,7 @@ sed -i 's/tar zcf/tar -zcf/' appliance/Makefile.am
|
||||
# provide a wrapper to tar that creates bit-reproducible output (boo#1218191)
|
||||
# used in supermin for base.tar.gz, in %install for zz-winsupport.tar.gz zz-scripts.tar.gz and in appliance/Makefile.am for 3 more .tar.gz files
|
||||
SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(date -r %{SOURCE0} +%%s)}
|
||||
mkdir ~/bin ; cat >~/bin/tar <<EOF
|
||||
mkdir -p ~/bin ; cat >~/bin/tar <<EOF
|
||||
#!/bin/sh
|
||||
exec /usr/bin/tar \
|
||||
--sort=name --clamp-mtime --mtime=@$SOURCE_DATE_EPOCH \
|
||||
|
Loading…
x
Reference in New Issue
Block a user