summaryrefslogtreecommitdiff
path: root/snd-alpx/tools/build_driver_pkg.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2024-05-10 18:52:23 (GMT)
committerChristian Pointner <equinox@helsinki.at>2024-05-10 18:52:23 (GMT)
commita641800acf13b5fb1463d4280c3ee7fc267143fb (patch)
tree248b647a682f71d9eb90d14d24081368ea905a42 /snd-alpx/tools/build_driver_pkg.sh
parentcc4badffe0e02d159c21eb90ea080a6a2f90cb4b (diff)
import whole driver package
Diffstat (limited to 'snd-alpx/tools/build_driver_pkg.sh')
-rwxr-xr-xsnd-alpx/tools/build_driver_pkg.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/snd-alpx/tools/build_driver_pkg.sh b/snd-alpx/tools/build_driver_pkg.sh
deleted file mode 100755
index ef568bd..0000000
--- a/snd-alpx/tools/build_driver_pkg.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-#This script will create the driver source archive with the given tag, name compilant with dkms
-# and put it in the destination dir
-
-print_help() {
- echo -e "This script requires 2 parameters : \n\t 1: version tag \n\t 2: destination directory"
-}
-
-## MAIN ##
-#Check parameters
-echo "starting $0 with $#"
-
-[ ! "$#" -eq "2" ] && print_help && exit 1
-
-version_tag=$1
-dest_dir=$2
-
-##Handle HEAD as a Special value
-if [ "$version_tag" == "HEAD" ]
-then
- version=$version_tag
-else
- version=${version_tag:2}
-fi
-
-echo "get ready for the archive V: $version_tag, from tag: $version_tag to $dest_dir/snd-alpx-$version.zip ..."
-git archive --format=zip -9 --prefix="snd-alpx-$version/" "$version_tag" > "$dest_dir/snd-alpx-$version.zip"