diff options
| author | Martin Braun <martin.braun@ettus.com> | 2016-03-22 14:35:49 -0700 |
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2016-03-22 14:36:03 -0700 |
| commit | c6c7acd8a63244b032d7e59f767f311f9bb0d522 (patch) | |
| tree | 80ffa64d2ca7208d2038c233213b8961eac95f8d /images/make_zip.sh | |
| parent | 0f943c9c8456d1f366b3d7a03047d6805c07be5d (diff) | |
| download | uhd-c6c7acd8a63244b032d7e59f767f311f9bb0d522.tar.gz uhd-c6c7acd8a63244b032d7e59f767f311f9bb0d522.tar.bz2 uhd-c6c7acd8a63244b032d7e59f767f311f9bb0d522.zip | |
images: Package builder script now can specify versioning
Diffstat (limited to 'images/make_zip.sh')
| -rwxr-xr-x | images/make_zip.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/images/make_zip.sh b/images/make_zip.sh index 19695ef3f..e9ef802f7 100755 --- a/images/make_zip.sh +++ b/images/make_zip.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Automatically run the make-zip-file process # Check we're in the right directory and all is set: if [ ! -e 'make_zip.sh' ]; then @@ -28,12 +28,12 @@ mkdir build cd build # Run the CPack process (ZIP file) -cmake .. -DCPACK_GENERATOR=ZIP -DUHD_RELEASE_MODE="$1" .. +cmake .. -DCPACK_GENERATOR=ZIP -DUHD_RELEASE_MODE="$1" $2 .. make package mv uhd-images*.zip .. # Run the CPack process (tarball) -cmake .. -DCPACK_GENERATOR=TGZ -DUHD_RELEASE_MODE="$1" .. +cmake .. -DCPACK_GENERATOR=TGZ -DUHD_RELEASE_MODE="$1" $2 .. make package mv uhd-images*.tar.gz .. |
