diff --git a/main.sh b/main.sh index 487e738..4a9ebc4 100755 --- a/main.sh +++ b/main.sh @@ -9,9 +9,10 @@ echo "$PIKA_BUILD_ARCH" > pika-build-arch VERSION="3.1.1-1git" # Clone Upstream -git clone --recurse-submodules https://github.com/dell/dkms.git -b 8a8a9d1a38fae432ec8734cc1977bdd97666f773 -cp -rvf ./debian ./dkms/ -cd ./dkms/ +git clone --recurse-submodules https://github.com/dell/dkms.git +cd ./dkms +git checkout 8a8a9d1a38fae432ec8734cc1977bdd97666f773 +cp -rvf ../debian ./ # Get build deps LOGNAME=root dh_make --createorig -y -l -p dkms_"$VERSION" || echo "dh-make: Ignoring Last Error"