[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libhdf4



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


Reply to: