Skip to content

Commit ba2a01c

Browse files
author
Christopher Norris
committed
Use basename of returned path
Caller is expecting this.
1 parent 849a6ae commit ba2a01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/InstallScripts/InstallPrawnOS.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ get_emmc_devname() {
4242
then
4343
echo "Unknown device! can't determine emmc devname. Please file an issue with the output of fdisk -l if you get this on a supported device"; exit 1;
4444
fi
45-
echo $devname
45+
echo $(basename $devname)
4646
}
4747

4848

0 commit comments

Comments
 (0)