From 3d79fb7036e5c42fbe00689f78c222fe66a22a44 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 8 May 2009 13:33:34 +0000 Subject: use .in files for scripts --- mkalpine | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 mkalpine (limited to 'mkalpine') diff --git a/mkalpine b/mkalpine deleted file mode 100755 index e31980a..0000000 --- a/mkalpine +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# check if what we need is here -needed="cramfs syslinux cdrkit" -for i in $needed; do - if ! apk info -e $i; then - missing="$missing $i" - fi -done - -# try install the missing parts -if [ -n "$missing" ]; then - if ! sudo apk add $missing; then - echo "Need $missing to build alpine" >&2 - exit 1 - fi -fi - -# first look for alpine.mk in current dir. Fallback to /usr/share/abuild -mk=./alpine.mk -if ! [ -f $mk ]; then - mk=/usr/share/abuild/alpine.mk -fi - -make -f "$mk" APK_BIN= $@ -rc=$? - -# beep when done -if [ $rc -eq 0 ]; then - for i in $(seq 0 3); do - echo -n -e "\007" - sleep 0.2 - done -fi - -# uninstall the stuff we installed -[ -n "$missing" ] && sudo apk del $missing - - -exit $? -- cgit v1.2.3-70-g09d2