diff --git a/cleanup.sh b/cleanup.sh index d8f1d61..bd8e29d 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # AIK-Linux/cleanup: reset working directory # osm0sis @ xda-developers diff --git a/repackimg.sh b/repackimg.sh index 07c54c6..c23969b 100755 --- a/repackimg.sh +++ b/repackimg.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # AIK-Linux/repackimg: repack ramdisk and build image # osm0sis @ xda-developers @@ -49,7 +49,7 @@ case $1 in --local) shift;; *) cd "$aik";; esac; -chmod -R 755 "$bin" "$aik/"*.sh; +chmod -R 755 "$bin" "$aik"/*.sh; chmod 644 "$bin/magic" "$bin/androidbootimg.magic" "$bin/boot_signer.jar" "$bin/avb/"* "$bin/chromeos/"*; if [ -z "$(ls split_img/* 2>/dev/null)" -o ! -e ramdisk ]; then diff --git a/unpackimg.sh b/unpackimg.sh index 947cbbf..723b5aa 100755 --- a/unpackimg.sh +++ b/unpackimg.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # AIK-Linux/unpackimg: split image and unpack ramdisk # osm0sis @ xda-developers