diff --git a/arch-install b/arch-install index c8edee4..3e9f04c 100755 --- a/arch-install +++ b/arch-install @@ -942,7 +942,7 @@ function abfrage() { for wort in ${extraparameter} do echo "$wort" - set ${wort} y + export ${wort}="y" done # Ausgaben diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 4eadbbb..588293b 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -24,11 +24,12 @@ shift echo "Hallo Echo" -# for-schleife -for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" +# while-schleife +while (( "$#" )) do - echo "$wort" - set ${wort} y + echo ${1} + export ${1}="y" + shift done sleep 5