On Wed, Sep 03, 2014 at 11:52:25PM +0200, Johan Van de Wauw wrote:
> * Perhaps something silly: in my build I wanted to do:
> cp -a !(debian|HDF$(RELEASE)) HDF$(RELEASE)
> but since dash is used this does not work. I used
> rsync -a --exclude debian --exclude HDF$(RELEASE) . HDF$(RELEASE)
> as an alternative, but that means an extra build dependency
> If anyone has a proper alternative without rsync, feel free to change it.
> 

You could run 

debian/script $(RELEASE)

such as  

#!/bin/bash
cp -a !(debian|HDF$1) HDF$1

The bash shell is (still) Essential so it is in any case present at build time. 


-- 
Francesco P. Lovergine


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to