Removed sh

This means that shebangs and executable flags will be respected
This commit is contained in:
bauen1 2017-11-13 21:29:00 +01:00
parent dd4ef8e4c9
commit 7a76cdc71f
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
17 changed files with 30 additions and 30 deletions

View File

@ -54,7 +54,7 @@ OVERLAY_BUNDLES="$(grep -i ^OVERLAY_BUNDLES .config | cut -f2 -d'=')"
if [ ! "$OVERLAY_BUNDLES" = "" ] ; then
echo "Generating additional overlay bundles. This may take a while..."
cd minimal_overlay
time sh overlay_build.sh
time ./overlay_build.sh
cd $SRC_DIR
else
echo "Generation of additional overlay bundles has been skipped."

View File

@ -8,7 +8,7 @@
all: clean
@echo "Launching the main build script..."
@time sh build_minimal_linux_live.sh 2>&1 | tee minimal_linux_live.log
@time ./build_minimal_linux_live.sh 2>&1 | tee minimal_linux_live.log
clean:
@echo "Removing generated work artifacts..."
@ -33,7 +33,7 @@ src:
@echo "Generating source archive..."
@rm -f minimal_linux_live_*_src.tar.xz
@mkdir -p work
@sh 08_prepare_src.sh 1>/dev/null
@./08_prepare_src.sh 1>/dev/null
@$(eval DATE_PARSED := $(shell LANG=en_US ; date +"%d-%b-%Y"))
@cd work/src && tar -cpf - `ls -A` | xz - > ../../minimal_linux_live_$(DATE_PARSED)_src.tar.xz && cd ../..
@echo "Source archive: minimal_linux_live_$(DATE_PARSED)_src.tar.xz"

View File

@ -2,5 +2,5 @@
for script in $(ls | grep '^[0-9]*_.*.sh'); do
echo "$script"
time sh "$script"
time ./"$script"
done

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_install.sh
time ./01_get.sh
time ./02_install.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_install.sh
time ./01_get.sh
time ./02_install.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -2,7 +2,7 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -2,10 +2,10 @@
SRC_DIR=$(pwd)
time sh 01_prepare.sh
time sh 02_disk_erase.sh
time sh 03_installer.sh
time sh 04_install.sh
time ./01_prepare.sh
time ./02_disk_erase.sh
time ./03_installer.sh
time ./04_install.sh
cd $SRC_DIR

0
src/minimal_overlay/bundles/ncurses/01_get.sh Normal file → Executable file
View File

0
src/minimal_overlay/bundles/ncurses/02_build.sh Normal file → Executable file
View File

4
src/minimal_overlay/bundles/ncurses/bundle.sh Normal file → Executable file
View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_install.sh
time ./01_get.sh
time ./02_install.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_install.sh
time ./01_get.sh
time ./02_install.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -2,8 +2,8 @@
SRC_DIR=$(pwd)
time sh 01_get.sh
time sh 02_build.sh
time ./01_get.sh
time ./02_build.sh
cd $SRC_DIR

View File

@ -19,7 +19,7 @@ if [ "$OVERLAY_BUNDLES" = "" ] ; then
exit 1
fi
time sh overlay_clean.sh
time ./overlay_clean.sh
BUNDLES_LIST="$(echo $OVERLAY_BUNDLES | tr ',' ' ')"
@ -42,7 +42,7 @@ do
cd $BUNDLE_DIR
echo "Building overlay bundle '$BUNDLE'..."
time sh $BUNDLE_SCRIPT
time $BUNDLE_SCRIPT
cd $SRC_DIR
done